Log files record all message routing data that appears in the Log Message box of the Exchange Gateway server console. You can determine the level of information you want to log, as well as the maximum age for log files and the maximum amount of disk space to be used for log files. Examining log files is useful if you experience any problems with the Exchange Gateway, because the log files record the exact route all messages take. If you have any problems that require assistance from Novell Support, it is likely that the technician who helps you will request a copy of this file.
Log files are stored in the gateway’s 000.prc directory (domain\wpgate\exchange\000.prc) and can be viewed from the Gateway server console and the Web console. Log files are named mmddlog.nnn, where mmdd is the month and day and nnn is an incrementing number, starting with 001.
In ConsoleOne, browse to and right-click the Exchange Gateway object, then click
.Click
to display the Log Settings page.Fill in the following fields:
Log File Path: Select the path where the log file should be created. By default, log files are stored in the domain\wpgate\exchange\000.prc directory.
Logging Level: Select the logging level you want. Gateway logging levels are hierarchical, with Off as the lowest and Diagnostic as the highest.
Off: Disables logging.
Normal: Displays basic message routing information, providing a summary of gateway activity. This is the default setting.
Verbose: Displays extra message routing details and message processing information.
Diagnostic: Displays all message routing and processing information. You should use this logging level only when troubleshooting a problem with the gateway.
A new log file is created each day, and the files accumulate according to the following settings:
Max Log File Age: Specify the maximum number of days you want to save the log file before the gateway deletes it. The default value is 7 days.
Max Log Disk Space: Specify the amount of disk space you want the limit to be for log files. When the limit is reached, the gateway deletes the oldest file until the space occupied is under the maximum allowable limit. The default value is 1024 KB.
If you set the limit to zero (0), there is no disk space limit for log files.
Click
to save the log settings.ConsoleOne passes the updated log settings to the Exchange Gateway so that the new log settings are in force immediately.
Corresponding Startup Switches You could also use the /log, /loglevel, /logdays, and /logmax startup switches in the Exchange Gateway startup file (gwexch.cfg) to control logging.
Exchange Gateway Web Console You can view the Exchange Gateway log files and change the log settings for the current Exchange Gateway session by clicking the Log Settings link on the Log Files page. You can also view and modify log settings at the Exchange Gateway server console on the server where the gateway is running, as listed in Menu Summary.