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.properties

...

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.

The configuration steps for the log4j.xml file are on the OAS - , Steps for log4j.xml configurationConfiguration page.


Tip
titlePermissions on files Files and directoriesDirectories

The Operating System owner (i.e., executor) of the OAS java process must have the following permissions:

  • Execute and read Read permission for all directories in the fullpath to the log4j.properties file
  • Execute, Write, write and read Read permission for all directories in the fullpath to the ceg4.log file

Configuring log4j

  1. Create Directories

    Note

    The log4j.properties file and ceg4.log file must reside in different directories.


    1. Create directory for the log4j.properties file
    2. Create directory for the ceg4.log file
  2. Download log4j.properties
  3. Copy the log4j.properites to the desired directory
  4. Edit log4j.properties with a text editor
  5. Revise log4j.appender.fileout.FileFile lines
    1. Comment the line that contains java.io.tmpdirtmpdir to look like thisthe following:

      Code Block
      #log4j.appender.fileout.File=${java.io.tmpdir}ceg4.log
      
    2. Uncomment the line that contains directoryxy and replace directoryxy with the directory you created above in step 1.a.

      Code Block
      log4j.appender.fileout.File=/your/new/dir/ceg4.log
      
  6. Save your changes.
Note
titlejava.io.tmpdir

Java guarantees a temporary directory which 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.
For this reason, CollegeSource recommends following step Step 5 above to ensure the ceg4.log is created in a known directory of your choosing.