Here is the code for ServletLogAppender.java. Basically, all you need to do
to use it is put the right "appender" section in your log4j properties:
log4j.[[category]] = ... , servletAppender, ...
log4j.servletAppender=com.vecna.servlet.ServletLogAppender
and be sure to call ServletLogAppender.se
Hello Bill,
Sounds interesting. Can you post it along with instructions on use?
I'd like to try it.
Jake
Friday, January 17, 2003, 12:30:32 PM, you wrote:
BS> To get around the problems I was having with log4j in a clustered
BS> environment (multiple processes on one filesystem), I wrote a new
To get around the problems I was having with log4j in a clustered
environment (multiple processes on one filesystem), I wrote a new appender
that writes to the servlet log as if you called servletContext.log(...).
Has anyone thought of doing this before? Hadn't seen much on the lists
about it. I