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
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
Hi,
Currently in Log4J, there is XML and Property File based configuration.
Are there any plans to include LDAP/JNDI as another means of storing the
Logger configuration?
(Or is it possible now with 1.2.7?)
Regards,
Peter
T
Sorry about that, my mail client selected the wrong list.
This email may contain information which is privileged or confidential. If you are not
the intended recipient of this email, please notify the sender immediately and de
Hi,
I've noticed that the scripts allow you to specify another server as a
parameter and shut it down.
Is there a way to stop anyone remotely shutting down the JBOSS server when
they use the shutdown.bat command file?
Regards,
Peter
Hi,
I was looking through the plans and noticed that the watchdog system had
been rewritten by Mark Womack, and included an HTTPWatchdog as part of that
change. HTTPWatchdog would be quite useful as we store the XML
configuration file for Log4J on a centralised web server.
Are the new watchdog f
> Message rendering is done prior to serialization. After serialization
> calling getMessage and getRenderedMessage always give the same result
> regardless of how you configure the server (receiving) side. Object
> rendering should be configured on the clients. HTH,
Hi Ceki,
I'd always assume
Hi,
Here is my configuration (in XML) of my JMS Appender:
As you can see I'm using PatternLayout. The message is sent out onto JMS as
a serialised java object (org.apache.log4j.spi.LoggingEvent) wrapped in an
javax.jms.ObjectMessage.
On the class org.apache.log4j.sp
We've recently ran some tests with Log4J and are experiencing some strange
behaviour from some of the calls.
When I run it on my computer it is fine, but when my colleague runs the same
test, we get ? for line number
and method name from locationInformation.
Would it do this if the symbol table
> So waht exactly would be in the .sjo files that you are pointing to?
I use Progress Sonic MQ JMS. In the explorer, you can save the
TopicConnectionFactory and Topic
objects out into files. The .sjo stands for Serialised Java Object.
However, we have a custom converter which takes these seria
Hi Sloan,
I use File JNDI to access JMS in my application.
You can use any sort of JNDI store to store your TopicConnectionFactory and
Topic, such as LDAP.
Regards,
Peter
PS - Here is my config for JMS.
***
Do you know how to do that in XML?
Peter
> -Original Message-
> From: Andrew Hurst [mailto:[EMAIL PROTECTED]]
> Sent: 27 September 2002 13:56
> To: Log4J Users List
> Subject: Re: Multiple appenders for a category
>
>
> Here's an example showing 2 appenders 'aerologic' and
> 'aerologi
Hi Mark,
> Can someone please provide a source for some information on the
> Conversion Pattern Syntax. Mostly I just want to know what
> the different
> elements ("%F" and the like) are defined as?
There's some Java Documentation in
http://jakarta.apache.org/log4j/docs/api/index.html
The Pat
Hi,
Does anyone use the SNMPTrapAppender for Log4J to send out traps on log
messages ?
I'm trying to configure it, and have noticed that the full Log4J message
comes through as a single octet string. I was wanting to pass it as
parameters so things such as class and line number were all separat
> The additivity flag influences the way appenders attached to parent
> loggers are handled. It does not affect the accumulation of loggers
> attached to the same logger.
So, I guess I need to have a separate logger for client applications from
the one for servers...
Regards,
Peter
***
I have a centrally stored logging properties XML file, which I access using
HTTP.
Inside this, I have the following snippet of XML...
Even though additivity is false, the Config tries to bind the Telnet
session, resulting in
a JVM_Bind err
I've been using it for a while. Its pretty good.
Peter
> -Original Message-
> From: Ceki Gülcü [mailto:[EMAIL PROTECTED]]
> Sent: 24 July 2002 14:34
> To: Log4J Users List
> Subject: RE: SNMPAppender
>
>
>
> Did you see this?
>
> http://www.m2technologies.net/asp/snmpTrapAppender.as
Hi,
I'm trying to implement the JMS appender for Log4J. I've placed a
serialised TopicConnectionFactory from
Progress SonicMQ in the directory (using Sonic Explorer). That works well,
and I can see the Java object
on the branch using an LDAP browser. However, when I come to reference it
from
18 matches
Mail list logo