Previous Topic

Next Topic

Book Contents

Book Index

Log Files

The contentRelayer stores all of its activity in a total of 8 log files. The Relayer log files are stored in C:\winnt\system32. The log files are named the following:

The first file is the current log file. When it reaches the user-defined maximum size, it is renamed to lmsRelayer.log.1, the contents of contentRelayer.log.7 are deleted (if applicable), contentRelayer.log.7 is renamed to contentRelayer.log, and all the backup logs are incremented by 1.

The default maximum size for the Relayer log and all backup logs combined is 50MB. So, each log file will have approximately 6.25MB of space (50MB divided by 8 files).

To customize the size of the log files, follow the procedure below:

  1. Open the web.xml file found in the <Tomcat Directory>/webapps/contentRelayer/WEB-INF/web.xml with Wordpad.
  2. Find the following section in this file:





  3. Change the value of 50 to the maximum size that you want for the log files (in megabytes). A value of 0 or text in this parameter sets the parameter to its default of 50MB.
  4. Save this file and restart Tomcat 4.1 via Administrative Tools:Services.
  5. Verify that the Relayer is now using the customized file size. Open a browser and enter the following URL:


  6. Scroll to the bottom of the log. The new total log file space should be displayed.

    For example:

    If you changed the log file space to 100MB, you would see:

    INFO [Thread-8]: Total space allocated for log files : 100 MB.

This property must be re-customized after reinstalling or upgrading the Relayer. A re-install or upgrade sets this property back to the default value of 50MB.

Known issue:

Saving a copy of a relayer log file in the same directory can interfere with the backup logging mechanism.

For example:

C:\winnt\system32\Copy of contentRelayer.log.1) .


If you make a copy of a relayer log file, save it in a different directory than the current default log file.