dcsimg
Is it possible to write a property file with different logging priorities for the same class?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Nadine_Rothe
Posted On:   Friday, August 15, 2003 04:55 AM

Hello can log4j manage that you have different priorities for the same class, depending from the appender-type, for example category=warn for the stdout appender and category=info for the file appender?
Thank you for your help,
bye Nadine

Re: Is it possible to write a property file with different logging priorities for the same class?

Posted By:   Anonymous  
Posted On:   Monday, August 18, 2003 04:34 AM

You can set the threshold for each appender.


You can use each String as name for a Logger - not only the name of the class. Therefore you can ask Log4J for another Logger.

About | Sitemap | Contact