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
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
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
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
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