[Top] [Prev] [Next] [Bottom]




Logging configuration


MAILsweeper can be configured to write four types of log. These are:

MAILsweeper for SMTP installations uses the system log to control output to an additional two log files, namely, the operation log (OPERATE.LOG) and the server log (SERVER.LOG). These log files contain logging details for the SMTPDS and SMTPRS services.

The usual method for configuring the MAILsweeper logs is to manually edit the appropriate configuration section(s), found in the logging configuration file, LOGGING.CFG.

For full details on the MAILsweeper logs and how they can be configured, see the appropriate logging sections, on page 6-6 and page 7-109.

MAILsweeper for SMTP provides an additional facility which allows you to configure certain logging details via the MAILsweeper Console icon, found in the Control Panel.

Double click on the MAILsweeper Console icon to display a MAILsweeper dialog box with several tabs, as shown below.

Click on the Logging tab to access the logging configuration options.

Using this dialog box you can:

The appropriate configuration sections in LOGGING.CFG are updated automatically with the information provided via this dialog box.

The MAILsweeper service will have to be restarted for any of these changes to come into effect.

Enabling/disabling the MAILsweeper logs

Any of the MAILsweeper logs can be enabled or disabled via the Log area of the MAILsweeper dialog box, shown on the previous page.

To enabled or disable the MAILsweeper logs:

1. Select the name of the log from the drop-down list associated with the Log area, that is, Event, System, Message or Debug.

2. Enable the log by ensuring that the Enabled box is checked. Disable the log by ensuring that the Enabled box is unchecked. A tick indicates that the log is enabled.

The information supplied is subsequently used to update the [Logging] section, found in the logging configuration file, LOGGING.CFG.

For example:

[Logging]
SystemLog=0
;MessageLog=1
;DebugLog=2
EventLog=3

In this example, the message log and debug log are disabled (as indicated by a semi-colon at the beginning of the line), while the system log and event log are enabled. For more details see page 7-113.

Controlling the information written to the MAILsweeper logs

The level of information written to each of the MAILsweeper logs can be controlled via the Logging Level area of the MAILsweeper dialog box, shown on page 2-69.

Select the required logging level by clicking on the appropriate option button in the Logging Level area. The four levels of logging are:

The information entered is subsequently used to update the MaxLevel directive, found in the configuration section for the log file type, that is, [SystemLog], [MessageLog],[DebugLog]or [EventLog]. The sections are found in the logging configuration file, LOGGING.CFG.

For example:

[SystemLog]
FileRootName=C:\MSW\LOG\DT%s.LOG
NameType=Date
StreamType=SystemFile
MaxLevel=Brief

In this example, the logging level written to the System log is Brief, that is only the overall results of processing.

For more details on the MaxLevel directive and the other directives that can be used in the logging configuration section, see page 7-113.

 



[Top] [Prev] [Next] [Bottom]



msw.support@mimesweeper.com

Copyright © 1998, Content Technologies Limited. All rights reserved.