Despite the offensiveness of the language, there is a good point hidden in there.
Is there a log4j "shadow" jar which contains only barebones code that only ensures
that the code compiles? This would be useful when using log4j in applets during
development. One doesn't want to have to deploy log
Hi Ceki,
Re: BeanWrapper
I find the BeanWrapper the most useful, because it does not require the developer to
add anything to the bean. That decreases the overhead of writing the logging code. In
exchange, it increases the overhead of running it.. Having very low overhead for
adding logging cod
I would have to agree with adding trace and performance. At the moment I don't do
performance logging, but when I do it will certainly be useful to be able to switch
that on without all the debug logging.
As for trace, having this level promotes a good practice of logging entry and return
from
Hi all,
I'm wondering whether there are any useful object renderers that I haven't heard
about, hopefully downloadable and easily integratable. Things I'd be looking to output
without having to have long debugging logic in my code would be beans, JDBC ResultSet
rows, and so on. Looking around t
VerifyError is always from conflict with an older version. I believe in older versions
Category was used rather than Logger? (might be wrong on this one). If you really
can't remove the old log4j version from the server's shared directory (the server can
still use it, but the apps shouldn't see
Agreed.
One way you could get around this is by making a (fairly simple) servlet that finds
out where the log4j log file is, reads it and displays it, on request. Should not be
too hard, and will be more app-server-independent and administrator-independent than
any attempt to write the log file
Hi all,
I'm trying to set up logging from an applet through a socketAppender. The
socketAppender stuff works fine, but I'm having trouble getting the applet to load the
correct configuration file. I've tried setting the "log4j.configuration" property
through an applet parameter (http://somepath