Hi All,
I have a configuration "stumper"... Using the PropertiesConfigurator (from a
properties file, not doing any special programming if at all possible), I
would like to set up my loggers to do the following:
Log FATAL->ERROR to appender 1
Log FATAL->DEBUG to appender 2
So...
--
Does the JMSAppender serialise the Throwable information?
I've extracted the org.apache.log4j.spi.LoggingEvent from the ObjectMessage
that I've received on a JMS topic.
I can recover the local information (classname, method and linenumber) but
if an exception is present, the
Throwable seems to
Actually, forget that as I've just read about serialisation and throwable in
the Java Doc.
If the throwable does not survive serialisation, is there a way (at all) to
recover the stack trace?
There's a method to return the string representation of the stack trace.
Does this get called (by JMSAppen
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
One of my co-workers found it. Thanks if anyone was looking into this for
me.
From the FAQ
Is it possible to direct log output to different appenders by level?
Yes it is. Setting the Threshold option of any appender extending
AppenderSkeleton, (most log4j appenders exte
Hi all,
I want to logging DEBUG into debug.log, ERROR into
error.log, how to configure it in log4j.properties?
Thanks.
_
Do You Yahoo!?
"¿î¿î¸ß¹óµäÑÅ£¬¿ìÀ´²Î¼ÓÆû³µµ÷²é"
http://cn.surveys.yahoo.com/gm_campaign_evaluation
--
To unsubscribe
That question just came up today:
see:
http://marc.theaimsgroup.com/?l=log4j-user&m=104308976118887&w=2
In fact, check http://marc.theaimsgroup.com/?l=log4j-user before you post.
It has the past mailing list postings. There's a lot of good information
there.
Neil
- Original Message -
F