CollegeSource recommends using the log4j.properties file instead of the log4j.xml file due to it's simplified format. NOTE: Either file may 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 the following permissions:
|
Create Directories
The log4j.properties file and ceg4.log file must reside in different directories. |
Comment the line that contains java.io.tmpdir to look like the following:
#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 that 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. |