Log File Preferences

InterMapper writes information to log files about various events. Use the log files to review the events surrounding a particular problem, helping you to troubleshoot the problem more effectively.

To view an existing log file:

To view and edit the preferences for log files:

  1. From the Edit menu, choose Server Settings... The Server Settings window appears.
  2. Click Log Files. A list of log files appears in the right panel, showing the current Log File preferences for the selected log file.

Setting Preferences for Log Files


The Log File preferences pane shows a list of currently defined log files with properties for the selected file.

Log File Preferences

The example above typical log file preferences. It shows the names of the log files, and their rotation intervals.

To add a new log file:

  1. Click Add New Log. The Log File preferences for the new log file appear.
  2. Set the log file preferences as described below.

To edit preferences for an existing log file:

  1. Click to select the log file. The Log File preferences for the selected log file appear.
  2. Set the log file preferences as described below.

Setting Log File Preferences

Log File Name - Set the filename (actually the prefix) for the log file. You can enter up to 14 characters (see Log File Naming and File Format below.) The file is given a .TXT extension, and can be edited with any text editor.

Start New Log File - Use these settings to specify how often and at what point in a log cycle the current log file is closed and a new one is opened. This allows you to break the log files into convenient sizes and/or time epochs. Choose from these options: 

 Delete log files after __ days/weeks - Check this box to force InterMapper to delete old log files automatically after a certain date.

Note: Each time InterMapper starts a new log file, it checks to see if any log files should be deleted. On platforms where the file creation date is available, it is used to determine whether a log file should be deleted. If the creation date is not available, the file's last modification date is used.

Also send messages to syslog server
Click this checkbox to specify that all log file entries be sent to a syslog server. Set the values for: 

Redirecting Log Entries

By default, all entries go to the built-in Event Log file. You can redirect streams of log entries from InterMapper's Remote Server, Web Server, or Telnet server to a particular log file (and syslog server). This can be useful, for example, for sending all web access events one file, and all outage events to a different file.

To redirect a log entry stream:

  1. Create a new log file definition for the file you want to receive the log entries, as described above.
  2. From the Edit menu, choose Server Settings... The Server Settings window appears.
  3. In the left panel of the Server Settings window, click to choose the server (Remote, Web, or Telnet) whose log entries you want to send to a different log file. The panel for the selected server appears.
  4. In the Send Log File Entries to menu, choose the log file you created to receive the log entries. All log file entries for the selected server are redirected to the new log file.

Log File Naming and File Format

Log files are saved in text format in the InterMapper Settings:InterMapper Logs folder. Each file has a user-defined prefix that describes its function, and ends with a suffix of .yyyymmddhhmm.txt, where the suffix is the (four-digit) year, month, day, hour and minute when the file was created. The prefix can be up to 14 characters in length.

Log File Sources

Log information comes from several sources, including:

Three built-in log files are always present, and cannot be deleted: