Getting Exception info in commons.log

Discussion in 'Java' started by WJ, Sep 15, 2004.

  1. WJ

    WJ Guest

    In log4j 1.2.8 I was able to write a custom appender that extended
    appenderSkeleton. I was able to pull location information such as the
    Class, method, and line number of the exception from the LoggingEvent.

    Is there a way to access this from the log or LogFactory without creating a
    custom appender?
    WJ, Sep 15, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Henrik_the_boss
    Replies:
    0
    Views:
    2,647
    Henrik_the_boss
    Nov 5, 2003
  2. Amratash
    Replies:
    0
    Views:
    520
    Amratash
    Apr 13, 2004
  3. =?Utf-8?B?VG9tIFdpbmdlcnQ=?=

    My.Log.Writeexception not writing to Application Event Log.

    =?Utf-8?B?VG9tIFdpbmdlcnQ=?=, Jan 20, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    2,372
    =?Utf-8?B?VG9tIFdpbmdlcnQ=?=
    Jan 20, 2006
  4. thiaga
    Replies:
    1
    Views:
    1,642
    Roland de Ruiter
    Jul 20, 2006
  5. Adem
    Replies:
    8
    Views:
    385
    Stephen Horne
    Oct 16, 2008
Loading...

Share This Page