The log4j docs have some performance hints. Have you followed them ?Perhaps
you can configure buffered logging, some people claim great speed increases
with it.
As for the threads, are you using EJBs ? if so I think the spec doesn't
allow you to spawn threads of your own..
As for the real
Hi
I'm using log4j in my web application, which is deployed in Tomcat.
By default, log4j generates the log file user's directory i.e., C:\Documents and
Settings\drathi\Start Menu\Programs\Apache Tomcat 4.1.
How can I make log4j to generate this log file at some other place?
thanks,
Naresh
you can always try using an asynchronous appender
--
Nigel Byrnes
E-Commerce, Direct Line
0845 878 2922
Ricardo Trindade
We dont use xml for logging. Voluminous logs are highly discouraged by operation folks. Are there any viewers that can go against logs with delimited records...
Scott Deboy [EMAIL PROTECTED]
Scott Deboy [EMAIL PROTECTED]
10/06/2003 06:20 PM
Please respond to Log4J Users List
That is where the JVM is started from and, hence, the location to which
relatively specified files will be written. What does your config file
look like? Have you specified a directory for output of your FileAppender?
Jake
At 04:40 AM 10/7/2003 -0700, you wrote:
Hi
I'm using log4j in my
Hi Jake,
my property file looks as below :
---
# Root logger, uses appender by name of Log
log4j.rootLogger=INFO
log4j.logger.DISSLogger=INFO, DISSLog
log4j.additivity.logger.DISSLogger=false
# DISSLog appender, rolling file appender with file size 100KB, max 10 files
Hi
We are using log4j in different packages, these packages have their own properties
file for log4j. We are using these packages in a single application, now I want to
switch off additivity of my logger so that my logging requests are not passed on to
the parent logger. Can someone tell me
At 06:56 AM 10/7/2003 -0700, you wrote:
log4j.appender.DISSLog.File=diss.log
That's the culprit. Notice that you simply specified the log file
name. This is written out, as you've discovered, to a location relative to
the directory where the JVM started. Try using something like...
Hi,
Here is what I use to switch off the additivity for a logger named
com.vnl.app.crm2, my 'local parent' logger.
log4j.additivity.com.vnl.app.crm2=false
Cheers
Adrian
-Original Message-
From: Naresh Agarwal [mailto:[EMAIL PROTECTED]
Sent: 07 October 2003 15:11
To: [EMAIL PROTECTED]
Where can I find guidelines for setting up a log4j.dtd? Or is there a
default one available?
Thanks!
Clare H. Myers
Application Developer Advisor
Anthem - AMMS
(513) 336-5472
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments,
is for the sole use of the intended
Hi,
I am trying to use Filter to filter out messages. I have defined 3 appenders
called APPLICATION, AUDIT, and ESNM. I have created a custom Level class
EISLevel in which I added two new Levels called AUDIT and ESNM. the
order is ESNMAUDITFATAL.
I want all the messages between DEBUG and FATAL
Hi,
We are running tomcat 4.1.24 and use log4j to log messages to our application log file.
When I start tomcat , I encounter the following error :
log4j:ERROR No appenders could be found for category (cnsperfe.servlet).
log4j:ERROR Please initialize the log4j system properly.
But am able to
I am using OGSA-DAI application, which uses log4j. The log messages are
written to console, but not to the file as specified in the
log4j.properties file.
Contents of log4j.properties file :
log4j.debug=true
log4j.rootCategory=DEBUG, fileAppender
log4j.category.org.apache=DEBUG, fileAppender
13 matches
Mail list logo