Return Receipt
Your Running the same package in different JVM with the same
document log4j configuration
:
Hi
As requested, this is the entire config file and some output fragments,
as well as a behaviour i discovered recently..
Thanks in advance.
=
This is present in application.log before any of the classes using
search.log are
Hi Shai,
I hope Chainsaw v2 is working well for you. Let us know if you have any suggestions
or comments.
- Receiver configurations defined inside Chainsaw cannot be saved.
This feature is not yet in-progress.
- Chainsaw provides a number of features to support high-volume logging:
- con
>> I am writing a Java based library for which I am using the log4j
>> package (version 1.2.8)
>> a) Are there any special things we need to worry about
>> configuration.
Since you are writing a library, you have to be aware of what log4j
does by default if nobody does any configuration at all. H
Forget to say that the System property name used to postfix the file is
defined in the log4j configuration file. This System property can be
also used to give the full file name and use the File parameter to
define the only the directory location or a part of it.
---
Hi,
I running one the same server multiple JVM machine which are running the
same java package. The log4j configuration file location is in a
property file in my logger framework package which is also running in
each JVM of course. I using a FileAppender to as log trace.
As a File can't be open t
Try setting the log4j.additivity.X.Y.Z=false
-Naren
Srivastava, Abhinav wrote:
The properties file :
log4j.category.X=DEBUG, Ap1
log4j.category.X.Y.Z=DEBUG, Ap2
log4j.category.X.Additivity=false
and the code
log = LogFactory.getLog("X.Y.Z");
log.error("message");
I get the output in both the appe
Hi Yoav,
Thanks alot for the information.
Can I have any number of log4j properties files under a single web
application ?
If so, where to put these properties files under tomcat ?
Are there any guidelines that I have to follow if there are many
lo4j properties under a single web app
> From: Srivastava, Abhinav [mailto:[EMAIL PROTECTED]
> log4j.category.X.Additivity=false
Is it case sensitive? Try lowercase 'a' for additivity.
I have this:
# Create an appender called daily:
log4j.rootLogger=DEBUG, daily
# set the additivity to avoid duplicate messages
log4j.additivity.root
The properties file :
log4j.category.X=DEBUG, Ap1
log4j.category.X.Y.Z=DEBUG, Ap2
log4j.category.X.Additivity=false
and the code
log = LogFactory.getLog("X.Y.Z");
log.error("message");
I get the output in both the appenders Ap1 and Ap2
though I expect it to go to only Ap2
At 05:33 PM 6/3/2004 -0400, you wrote:
Hi:
I am writing a Java based library for which I am using the log4j
package (version 1.2.8)
I am new to log4j. I am confused about the following points:
a) Are there any special things we need to worry about
configuration.
Currently, I am
Would it be possible to see the full config file and code snipet to see
exactly what is going on. Or try mine and see if it works.
dwfa
-Original Message-
From: Sebastian Ho [mailto:[EMAIL PROTECTED]
Sent: June 2, 2004 9:38 PM
To: Log4J Users List
Subject: RE: how to log to different f
I am using a properties file for log4j.
I am trying to have different output files for
different packages (depending on the way the logger is initialized)
Can any one please show an example how to do this.
Hi:
I am writing a Java based library for which I am using the log4j
package (version 1.2.8)
I am new to log4j. I am confused about the following points:
a) Are there any special things we need to worry about
configuration.
Currently, I am considering configuration from
At 09:08 PM 6/3/2004, Larry Young wrote:
Hello,
I've been struggling with SMTPAppender using the
PatternLayout. No matter what I set the pattern to, it kept sending out
the entire exception stack trace.I thought it was appearing because
of the %m so I thought I was doing the format
Hello,
I've been struggling with SMTPAppender using the
PatternLayout. No matter what I set the pattern to, it kept sending out
the entire exception stack trace.I thought it was appearing because of
the %m so I thought I was doing the format specifiers incorrectly
(%-1.100m). Come
We should adapt Level to use some of the enum techniques used in
o.a.j.commons.lang.Enum and
com.dautelle.util.Enum from JADE.
This is listed in my todo list as a priority item.
At 08:18 PM 6/3/2004, you wrote:
You would need to write a custom Level class and XmlDecoder would need
to support a pa
You would need to write a custom Level class and XmlDecoder would need
to support a parameter allowing you to specify a custom Level
implementation.
This change would display the custom level in Chainsaw (if you used text
and not icons), but expressions like LEVEL > MYCUSTOMLEVEL won't work
(they'
Title: RollingFileAppender behavior - is this a bug?
When I configure log4j (ver 1.2.8) to use RollingFileAppender and if I forget to specify the filename in the configuration file, then log4j treats the null filename as a warning and shows the message "Are you using FileAppender instead of C
Hello,
I'm using Chainsaw v2 ( ) to receive and display
log messages that come from a C++ program (I use
log4cplus 1.0.1 with an inhouse written socket XML
appender).
I use a custom log level (name="CRITICLA", numeric value
40001) in log4cplus in a log statement. The value is
properly embedded in
Hi,
The root category is not required in configuration files. It is
implicitly created for you whether you specify details for it or not.
Most people specify it in order to set the basic level of logging for
their system such that 3rd party libraries using log4j aren't logging at
too verbose a le
Hi,
ObjectRenderers do not replace a Layout. They are classes that know how to render
objects of a specific class. For example:
class A {
private int a;
public int getA() { return a; }
private int b;
public int getB() { return b; }
}
public class ARenderer implements ObjectRenderer {
Hi,
The watchdogs are not available for automatic configuration, only for programmatic
configuration, by invoking the Configurator#configureAndWatch method.
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Vernier, Dominique (DVernier) [mailto:[EMAIL PROTECTED]
>
Hi !
we are testing chainsaw as a solution for our real time log monitoring
environment.
i have been playing with the application for a few days and i have a few
questions:
1) after configuring a reciever - is there a way to save the configuration
so that i will have it ready the next time i
Hi,
Im trying to incorperate ObjectRenders in min J2EE framework, but i dont
know howto. Do they replase Layout??
Regards,
Søren
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
Log4j has a watchDogs system, means as soon as your config change it reload it.
I don't know by heart how to setup it.
Regards
Dominique
-Original Message-
From: Ionel GARDAIS [mailto:[EMAIL PROTECTED]
Sent: jeudi 3 juin 2004 9:39
To: [EMAIL PROTECTED]
Subject: automatic LOG4J confi
Hi folks,
Is there a way to do an automatic reloading of the
log4j configuration declared as -Dlog4j.configuration ?
=
--
Regards,
Ionel
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
Créez votre Yahoo! Mail sur http://fr.benefi
27 matches
Mail list logo