What happens to standard out on log4j basic configuration?

2003-11-24 Thread Francis Le Monnier
I have re-directed standard out to a file. When the code reaches the point where it initializes log4j, standard out seems to be re-directed somewhere else. Had a look at the source, but can't quite see where this might be taking place in the log4j code. Q. Where is this happening in the log4

Short manual question re: Loggers may be assigned levels...

2003-11-12 Thread Francis Le Monnier
In the paragraph beginning 'Loggers may be assigned levels.', it goes on to say 'Although we do not encourage you to do so, you may define your own levels by sub-classing the Level class. A perhaps better approach will be explained later on.' I have checked out the examples in the 1.2.8 src

Using log(fqcn,level, message, throwable): how is fqcn displayed in the formatted output?

2003-11-06 Thread Francis Le Monnier
If I use log(fqcn,level, message, throwable) to generate a log event, which % parameter do I use to display the fqcn in my formatted logging event? No matter what I pass as fqcn, it appear to display only the logger class when I use %c, a ? when I use %C and () when I use %l. So, in the call l

re: jdbcappender: finalize - how to ensure all messages are sent to the database?

2003-10-15 Thread Francis Le Monnier
Thanks for your reply, Ken, and pointing me in the direction of LogMangager. However, the call to shutdown() does not solve the issue. Shutdown finalizes and closes the appender. That's fine. This can be forced by creating a servlet listener, which, if the web app is destroyed, the listener

JDBCAppender: finalize - how to ensure all messages are sent to the database?

2003-10-14 Thread Francis Le Monnier
the finlalize method called to clean up the appender? Can this be forced? Is there a way of coding: 'when http request completes [page sent back to browser], finalize'? See also: http://www.mail-archive.com/[EMAIL PROTECTED]/msg09363.html Many thanks Francis