How can I setup logging for the following?
com.package.class1 debug to PackageAppender
com.package.class2 info to PackageAppender
root debug to DebugAppender (including all messages from com.package)

Because PackageAppender needs to get debug messsages I can't set the
threshold.  Therefore I should set the level on com.package.class2 to
info.  But that will prevent debug messages from com.package.class2
from going to DebugAppender.

The only idea I have is to is to make 2 pacakge appenders (one with an
info threshold) and make them both SocketAppenders so the receiver can
write logs from those 2 appenders to 1 file.  Would it be easier to
use an appender filter for this?

--
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to