How to Obtain Debug logs for Symantec Email Submission Client (SESC)

book

Article ID: 180891

calendar_today

Updated On:

Products

Mail Security for Microsoft Exchange Messaging Gateway

Issue/Introduction

 

Resolution

This article describes the various debug logs produced by SESC

Installation Logs

(Note:  Setup must be launched from Setup.exe for the sesc_verbose_install.log to be generated)

File Description
%temp%\SESC_Setup.log Debug log for SESC installer.
%temp%\sesc_verbose_install.log Verbose MSI log.

SESC Windows Service

The default location of the SESC Windows service log file is c:\program files\Symantec\SESC\<version>\logs\log.txt (the <version> is the version of SESC installed, e.g. c:\program files\Symantec\SESC\1.0\logs\log.txt).

Perform the following steps to increase the debug level, log location, number of logs and size of logs:

1. Download and extract attached ZIP file.
2. Doubleclick (or run from the command line) SESCDebugging.bat.
3. Select DEBUG from the Debug Level dropdown.
4. Change any of the other settings as appropriate.
5. Click the Save button.
6. Click the Close button.
7. Restart the Windows Service Symantec Email Submission Client.

NOTE:  These changes are made to the SESC configuration file c:\program files\Symantec\SESC\<version>\bin\SESC.exe.config (default location).  A backup of this file is created with the time and date appended to the filename.  The <version> in the path is the version of SESC installed.

Technical Information

Rolling Log Files

The SESC service log file is "rolling". This means that when the current log file, log.txt, reaches the maximum size then the log file log.txt.10 (or whatever the maximum number to keep) is removed. The file log.txt.9 is renamed to log.txt.10. The same process happens for logs 1 through 8. Then the current file is renamed to log.txt.1. A new file called log.txt is then created.

Manually Changing Debug Log Settings

Changes to debug logging are made to the SESC configuration file c:\program files\Symantec\SESC\<version>\bin\SESC.exe.config.  This is an XML configuration file.  Open it in an editor and change the following XML nodes:

XML Node

Description

Example

<configuration><log4net><appender><file>

Location of the initial log file.

<file value="C:\Program Files\Symantec\SESC\1.0\logs\log.txt" />

<configuration><log4net><appender><maximumFileSize>

Maximum size of each log file. The accepted units are "KB" and "MB"

<maximumFileSize value="5MB" />

<configuration><log4net><appender><maxSizeRollBackups>

Number of rollling log files to keep.

<maxSizeRollBackups value="5" />

<configuration><root><level>

Debugging level.  Accepted values are:

DEBUG
ERROR

 <level value="DEBUG" />

 

SESC Console logging

When the SESC console does log information it is written to the same log file as the SESC Windows service writes to (see above).

Environment

  • SESC 1.X

 

 

Attachments

SESCDebugging1.0.zip get_app