On Mar 16, 2005, at 4:15 AM, saleem wrote:

Is it possible in log4j to define multiple conversion patterns over the
debug levels in the same category.

For example;

When I write : simpleLogger.error then I like to see class name & line
number

And

When I write : simpleLogger.info then I do not wish to see the class
name & line number.


I think that would require a custom layout. So if you aren't afraid of writing some code, it should be possible.



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



Reply via email to