logging windows vs. Unix [message #131543] |
Mon, 08 August 2005 03:15 |
moonrock
Messages: 1 Registered: August 2005 Location: Netherlands
|
Junior Member |
|
|
Hey,
I have a question about logging. We have OAS running, one of the features of our application is making a logfile.
If we run the application in Windows the log file is made in our route directory. We are making the log file with log4j. We got the following lines in the file:
<appender name="webapp" class="org.apache.log4j.RollingFileAppender">
<param name="Threshold" value="DEBUG"/>
<param name="File" value="/<filename>.log"/>
<param name="Append" value="true"/>
<param name="MaxFileSize" value="8MB"/>
<param name="MaxBackupIndex" value="20"/>
<layout class="org.apache.log4j.PatternLayout">
<!-- The default pattern: Date Priority [Category] Message\n -->
<param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
</layout>
</appender>
This works fine. If we run the application on Unix, the log isn't made.
What am i doing wrong? Do i need to do something special for logging on Unix?
Thanx in advance,
Chan
|
|
|