Log4J (and most other logging packages) will log a
message if its level >= the defined level. So
log4j.rootLogger=DEBUG, stdout, rolling
will log FATAL, ERROR, INFO, DEBUG into rolling.
--- "Pingili, Madhupal" <[EMAIL PROTECTED]> wrote:
> Hi All,
> Can I use two loggers in one Action?
> I have
Hi All,
Can I use two loggers in one Action?
I have set the Commons logging to use log4j.
I need to log error messages in one file and all other messages in another
file.
In log4j.properties, I have following lines:
# log4j properties file
log4j.rootLogger=DEBUG, stdout, rolling
log4j.logger.pilotE
2 matches
Mail list logo