logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Liles" <d...@dynamichostings.com>
Subject Chaining
Date Wed, 01 Oct 2003 15:10:18 GMT
I just started using log4j and am having trouble trying to figure out how to chain logging
messages....
 
class 1 makes a call to class 2.... I would like to be able to pass the message from class
2 to class 1 where it would ultimately be logged, that way when I review the log file it would
show that the message originated in class 2, but would be displayed something like this:
 
class2 -> class1 - message.....
 
Hope I'm making sense....
 
Thanks - Dave
Mime
View raw message