The file is set to C:Log4jTestLog4jTesterWebContentexample.log look in your c: dir for this file...
You are using incorrect directory seperator. You either need to specify: 1) C:\\Log4jTest\\Log4jTester\\WebContent\\example.log 2) C:/Log4jTest/Log4jTester/WebContent/example.log -----Original Message----- From: Raj Nella [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 10:49 AM To: Log4J Users List Subject: Re: problem with RollingFileAppender the directory exists. when i added log4j.debug=true the following messages appeared: [6/13/03 10:44:37:140 PDT] 6623ee73 SystemOut O log4j: Parsing for [root] with value=[debug, stdout, R, A1]. [6/13/03 10:44:37:140 PDT] 6623ee73 SystemOut O log4j: Level token is [debug]. [6/13/03 10:44:37:150 PDT] 6623ee73 SystemOut O log4j: Category root set to DEBUG [6/13/03 10:44:37:150 PDT] 6623ee73 SystemOut O log4j: Parsing appender named "stdout". [6/13/03 10:44:37:331 PDT] 6623ee73 SystemOut O log4j: Parsing layout options for "stdout". [6/13/03 10:44:37:421 PDT] 6623ee73 SystemOut O log4j: Setting property [conversionPattern] to [%5p [%t] (%F:%L) - %m%n]. [6/13/03 10:44:37:421 PDT] 6623ee73 SystemOut O log4j: End of parsing for "stdout". [6/13/03 10:44:37:631 PDT] 6623ee73 SystemOut O log4j: Parsed "stdout" options. [6/13/03 10:44:37:641 PDT] 6623ee73 SystemOut O log4j: Parsing appender named "R". [6/13/03 10:44:37:671 PDT] 6623ee73 SystemOut O log4j: Parsing layout options for "R". [6/13/03 10:44:37:671 PDT] 6623ee73 SystemOut O log4j: Setting property [conversionPattern] to [%p %t %c %x - %m%n]. [6/13/03 10:44:37:681 PDT] 6623ee73 SystemOut O log4j: End of parsing for "R". [6/13/03 10:44:37:751 PDT] 6623ee73 SystemOut O log4j: Setting property [file] to [C:Log4jTestLog4jTesterWeb Contentexample.log]. [6/13/03 10:44:37:751 PDT] 6623ee73 SystemOut O log4j: Setting property [maxFileSize] to [100KB]. [6/13/03 10:44:37:751 PDT] 6623ee73 SystemOut O log4j: Setting property [maxBackupIndex] to [1]. [6/13/03 10:44:37:761 PDT] 6623ee73 SystemOut O log4j: setFile called: C:Log4jTestLog4jTesterWeb Contentexample.log, true [6/13/03 10:44:37:781 PDT] 6623ee73 SystemOut O log4j: setFile ended [6/13/03 10:44:37:781 PDT] 6623ee73 SystemOut O log4j: Parsed "R" options. [6/13/03 10:44:37:781 PDT] 6623ee73 SystemOut O log4j: Parsing appender named "A1". [6/13/03 10:44:40:385 PDT] 6623ee73 SystemOut O log4j: Parsed "A1" options. [6/13/03 10:44:40:395 PDT] 6623ee73 SystemOut O log4j: Finished configuring. --- Alison Ortega <[EMAIL PROTECTED]> wrote: > You could turn on debugging: > -log4j.debug=true > > Also, the directory for the log file must exist. It > will create the > file, but the dir must be there. > > Alison Ortega > North Carolina State University > ACS > Systems Programmer II > 919-513-1417 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]