Hi,
Here is my configuration (in XML) of my JMS Appender:
appender name=JMS class=org.apache.log4j.net.JMSAppender
param name=TopicConnectionFactoryBindingName
value=cn=LoggingTopicConnectionFactory/
param name=TopicBindingName value=cn=LoggingTopic/
param name=Threshold value=DEBUG/
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,
At 09:31 20.11.2002 +, FLYNN,
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 assumed
We are talking about two completely different things. The formatting
of the LoggingEvent is done by the layout attached to a given
appender. I was talking about object renderers which is a different
topic.
On object rendering see:
http://www.qos.ch/ac2001/F11-110.html
(for these two links
Hi,
we've had the same problem as described by Adam Hardy in thread
http://www.mail-archive.com/log4j-user@jakarta.apache.org/msg05667.html
Can't control logging via root - get all msgs despite setting
priority.
I still don't feel this behaviour be plausible.
If levels are not
Your best bet is the startup class that loads an XML file or Properties file. I
recommend the former. A startup class does not have the restrictions that EJBs have.
As far as runtime adjustments, there is a JMX component in the log4J library that
exposes Log4J objects. I have not used it, but
Hi Morten,
read http://www.mail-archive.com/log4j-user@jakarta.apache.org/msg05569.html and
http://www.mail-archive.com/log4j-user@jakarta.apache.org/msg05578.html
This may help till log4j 1.3 is ready.
Kind regards
Frank-Olaf Lohmann
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For
-Original Message-
From: donald larmee [mailto:[EMAIL PROTECTED]]
Sent: Wed 11/20/2002 1:50 PM
To: Log4J Users List
Cc:
Subject:RE: Getting junk messages in log file (Followup=null) while using
struts
Add an entry to your log4j.properties file restricting the
Hi,
As you told I added these lines to log4j.properties, but still Iam getting that
proble,
here is log4j.proprties
log4j.rootCategory=DEBUG, dest1
log4j.logger.org.strutsx=OFF
log4j.logger.org.struts=OFF
log4j.logger.org.apache=OFF
-Original Message-
i start playing with Log4j 1.2.7 and read that it automatically looks for
log4j.xml
Log4j developers are happy to announce the release of log4j 1.2.7. As
of this release log4j will search for the file log4j.xml as well as
the file log4j.properties during its
Has anyone tried the CRS in Ceki's containers document for WebLogic?
I've put that CRS class in a WebLogic startup class.
In my EJB.ejbCreate(), I have a statement like:
Logger logger = Logger.getLogger(StateEJB.class);
When ejbCreate() is called, I see the
public LoggerRepository
I have a weblogic 7 application making extensive use of Log4j (1.2.6). I am
attempting to convert the configuration properties file over to XML
I have done this and it works, including finding the log4j.dtd. however
during initialization I still get the message
log4j:ERROR Could not find
Hello David,
Try the one I implemented. I works in Tomcat, but must exist in the
the same classloader as the log4j.jar. In Tomcat, that means either
in common/lib or shared/lib. Both can see each other so log4j.jar
could be in common/lib and the jar containing Log4jCRS can be in
either
Greetings to all,
An updated version of the Complete log4j Manual just came out. This
version completes chapters 6, 7 and 8 that were left blank in earlier
versions.
The manual is still a non-final draft. You can expect the book to be
finalized during the month of December or early 2003. In
Hi,
We're using Log4J and we are trying to re initialize
Log4J after a user has made some configuration
changes. More to the point, we want to be able to
change the log priority so we can turn on debug
tracing without restarting our program. We are able
to turn Debugging to so lesser priority
Thanks for your reply, Jacob.
I want to use log4j in a WebLogic environment with both EJBs and servlets.
I also want to have this separation of logging so that if I have common
components residing in many applications, those common components can be
configured in one application without affecting
Unfortunately, I can tell you very little about either Weblogic or logging
in EJB's because, like I said before, I haven't really written any J2EE
apps. The one thing that should hold true is that you shouldn't need to
worry about log4j being in the system classpath if you put a copy of log4j
17 matches
Mail list logo