Hi Paul
That's not the easiest thing for me. I'm a real user. I don't
want to have to get a browser up and running and click on a link
everytime I want to run Chainsaw. I do loads of work offline,
for one thing. I want my scripts to run it as and when
necessary, perhaps.
Once
Log4j is a singleton within the same JVM, more precise in each classloader of
the JVM running. So you can have only one configuration. To give more help you
must provide more details about your application and your goal.
Heri
-Original Message-
From: Asaf Lahav [mailto:[EMAIL PROTECTED]
Hello,
I'm using LogFilePatternReceiver to parse several log files from different
applications and import received events into one database table. But it is
needed to specify each record with it's appropriate application id. I.e.
records received from first log file have id's set to 1 and from
Hi Nicolas,
we use log4j in a clustered environment and we create a file per node.
E.G.
Say you have a log4j.log we then create a log4j_NODE1.log, log4j_NODE2.log,
log4j_NODE3.log etc;
in weblogic this is easy as in System.getProperty(weblogic.Name) you get the
node name you are actually
I use multiple configuration files, divded up logically by application
subsystem, by using wrapper classes (each one implements the singleton
pattern) around my Logger instances and then use the configuration
option to specify where to load. For example if using an XML
configuration file:
Yes, did changes as you said.
No change :-(
Thanks,
Praveen
On 3/8/06, Philip Denno [EMAIL PROTECTED] wrote:
Configuration looks OK. You might try removing the line:
param name=Append value=true/
And also change the line:
priority value=all/
To
level value=DEBUG/
And see if that
Yes.
Even i have reduced the size to 1000KB and tried.
same result..
Thanks,
--Praveen
On 3/9/06, Javier Gonzalez [EMAIL PROTECTED] wrote:
Are you sure you are hitting the 10MB log file size?
On 3/9/06, Praveen Kumar Hasthalapuram [EMAIL PROTECTED] wrote:
Yes, did changes as you said.
Rakesh Arora wrote:
Hi,
I am using RollingFileAppender. Is it possible to rollover to a new
file at the time of server/application restart, irrespective of the
size of the current log file?
Did you find an method that worked?
R.Parr, Temporal Arts
We had the same requirement.
The only approach that I could discover was to create our own version of
FileWatchdog where #lastModif was set in the constructor (see below).
// WilliamF this is the change we made from log4j-1.2.12 as we don't
// want any prior log to be wiped when the