Home » Fusion Middleware & Colab Suite » Weblogic & Application Server » logging windows vs. Unix
icon9.gif  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. Sad

What am i doing wrong? Do i need to do something special for logging on Unix?

Thanx in advance,

Chan
Previous Topic: How to find out how many concurrent users using web application?
Next Topic: Error with opening web reports - reports queue jamming
Goto Forum:
  


Current Time: Wed Nov 25 13:57:01 CST 2020