CollegeSource recommends using the log4j.properties file instead of the log4j.xml file due to it's simplified format. NOTE: either file can be used.
The configuration steps for the log4j.xml file are on the OAS - Steps for log4j.xml configuration page.
The Operating System owner (i.e. executor) of the OAS java process must have:
|
Create Directories
The log4j.properties file and ceg4.log file must reside in different directories. |
Comment the line that contains java.io.tmpdirto look like this
#log4j.appender.fileout.File=${java.io.tmpdir}ceg4.log |
Uncomment the line that contains directoryxy and replace directoryxy with the directory you created above in step 1.a.
log4j.appender.fileout.File=/your/new/dir/ceg4.log |
Java guarantees a temporary directory which is identified by the java.io.tmpdir System property. Many java runtimes default this location to the Linux /tmp or Windows C:\TEMP directory, however OAS does NOT. |