In the General tab you decide how log entries will be saved.

Field |
Description |
Enable file logging |
Check this option to write log entries to text files. |
Delete logs older than (Days) |
By default, a new log file is created on a daily basis. This option allows you to delete old log files by specifying a threshold in days. In the screenshot above logs over 7 days old are deleted automatically. A value of zero here means the logs should never be deleted. |
Archive deleted logs to file |
Check this option and specify a fully qualified path to a file (ZIP or, older versions, MCB) where deleted logs will be archived. NOTE: Specifying just a folder name here could cause any files in that folder to be deleted. |
Log file cache |
Here you can specify an amount of memory to be used as a cache for logs. Log entries are written to the cache until the cache is full, at which point the cache is written and the cache cleared. A value of 0 specifies that no cache is used. |
Rotate log files when size exceeds |
On a very busy server with a high level of logging the daily log files could become too large to be readable. If you specify a number here then the logs will be rotated when the file reaches that size. In the above screenshot files will be rotated when they reach 70MB in size. |
Logs |
Press this button to access the Status Logs node of IceWarp Server immediately. |
Log files are saved in the <InstallDirectory>/logs directory or a subdirectory thereof:
Saved in <InstallDirectory>\logs directory with a filename ayyyymmdd-nn.log, are
a - is one of
c - for Web/Control Service
e - for general errors (including DB errors)
f - for FTP Service
g - for GroupWare Service
m - for IMAP Service
p - for POP3 Service
s - for SMTP Service
yyyy - is the year
mm - is the month (2 digits)
dd - is the day (2 digits)
nn - is a two digit incremental value, starting at 00, used if the log rotates within a one day period
So, m20060913-01.log is the second IMAP log for 13th September 2006
Subdirectories are named according to the logging data contained therein, they are:
activesync
antispam
antivirus
ldap
loganalyzer
maintenance (settings changes - eg.: 'System' updated '123@icewarpdemo.com')
reports (for spam/quarantine reports)
setup (installer logs)
sip
syncml
webdav
webmail

Field |
Description |
Send logs to system log function (syslog) |
You can check this option to have all logged events sent to the system log. Events are written using the C_System_Logging_General_SystemLogFunction Windows API function. |
Send logs to server (syslog protocol) |
Check this option to have the syslog sender send its data to an external (remote) syslog server. This is usually used in large multi-server installations where there is a centralized syslog repository. Information packets are sent over UDP using the system log call function. |

Field |
Description |
Active |
Tick the box to have the log data sent to any database. |
Settings |
Press the button to setup the database connection. |
|
NOTE: The use of a database to store log entries is not recommended as this can have a serious impact on server performance. Please note that when using database logging the log entries cannot be displayed in Status - Logs. You must extract these entries from the database if you wish to examine them. |