QUICK LINKS

Support
Issue Tracker
[Services]
Questions
[uAchieve 4.5 Applications]
[uAchieve 5.0 Application]
[uAchieve 5.1 Application]
Transferology
TES
[Training & Conferences]
Accessibility

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Necessary

...

Steps to

...

Configure the log4j.xml

...

File

CollegeSource recommends using the log4j.properties file instead of the log4j.xml file due to it's simplified format. NOTE: either Either file can may be used.

Note

If you have followed the log4j.properties steps, don't do not follow these steps!

  1. Added a directory for the log4j.xml file

...

The Oracle Application Server needs a slightly different log4j.xml file than JBoss, so download the file named log4j.xml from this the following page:
 Oracle App Server

For the external CEG to successfully find this file, please ensure the following:

  1. The file must be named log4j.xml
  2. The log4j.xml file must reside in a directory you 've have added (or will add) to the application classpath (i.e., an external path) through the OAS console
  3. The Operating System owner (i.e., executor) of the java Java process , must have execute Execute and read Read permission for all directories in the path and the log4j.xml file

...

The log4j.xml file must be edited for your specific needs.

Find CEG Appender

...

Section

Open log4j.xml with a text editor and go to the section that looks like this:

Code Block
xml
xml
<!-- CEG Appender  -->
<!--
 uncomment when  ceg4 is used 
   <appender name="CEG4" class="org.apache.log4j.RollingFileAppender">
      <param name="File" value="/home/cas/logs/ceg4.log" /> 
      <param name="Append" value="true" />
      <param name="MaxFileSize" value="10MB"/>
      <param name="MaxBackupIndex" value="25"/>

      <layout class="org.apache.log4j.PatternLayout">
         <param name="ConversionPattern" value="%d{MM/dd HH:mm:ss,SSS} %5p [ceg4] [%t] [%c] %m%n" />
      </layout>
   </appender>
-->
Remove CEG Appender xml

...

Comments

Remove the xml comment lines so the section now looks like this:

Code Block
xml
xml
   <appender name="CEG4" class="org.apache.log4j.RollingFileAppender">
      <param name="File" value="/home/cas/logs/ceg4.log" /> 
      <param name="Append" value="true" />
      <param name="MaxFileSize" value="10MB"/>
      <param name="MaxBackupIndex" value="25"/>

      <layout class="org.apache.log4j.PatternLayout">
         <param name="ConversionPattern" value="%d{MM/dd HH:mm:ss,SSS} %5p [ceg4] [%t] [%c] %m%n" />
      </layout>
   </appender>
Revise the ceg4

...

Log File Path

Go to the line that looks like this:

...

The value specifies the full path filename of the log file to be written by the logging framework. Change the value attribute to be the directory you want the log files written to.

The Operating System owner (i.e., executor) of the java process , must have executeExecute, Write, write and read Read permission for all directories in the path for the external CEG log files to be successfully written.

Save

...

Your Changes