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. Advertisements

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:
    3,095
    Henrik_the_boss
    Nov 5, 2003
  2. Amratash
    Replies:
    0
    Views:
    733
    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,631
    =?Utf-8?B?VG9tIFdpbmdlcnQ=?=
    Jan 20, 2006
  4. Manish Hatwalne

    Getting Exception wrapped in an exception

    Manish Hatwalne, Apr 27, 2004, in forum: Java
    Replies:
    7
    Views:
    606
    Manish Hatwalne
    Apr 28, 2004
  5. thiaga
    Replies:
    1
    Views:
    2,132
    Roland de Ruiter
    Jul 20, 2006
  6. unomystEz
    Replies:
    0
    Views:
    747
    unomystEz
    Nov 19, 2006
  7. vj
    Replies:
    0
    Views:
    816
  8. Adem
    Replies:
    8
    Views:
    498
    Stephen Horne
    Oct 16, 2008
Loading...