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

log4j.appender.DISSLog=org.apache.log4j.RollingFileAppender

log4j.appender.DISSLog.File=diss.log

log4j.appender.DISSLog.MaxFileSize=100KB

# Keep backup files

log4j.appender.DISSLog.MaxBackupIndex=10

log4j.appender.DISSLog.layout=org.apache.log4j.PatternLayout

log4j.appender.DISSLog.layout.ConversionPattern=%d [%t] %-5p - %C{1}::%M %m%n

------------

How can we specify directory for output of your FileAppender?
 
thanks,
Naresh
Jacob Kjome <[EMAIL PROTECTED]> wrote:

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 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
>
>
>
>
>
>---------------------------------
>Do you Yahoo!?
>The New Yahoo! Shopping - with improved product search


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search

Reply via email to