This section describes how to work with service logs by using the configutil command for searching and viewing logs. It consists of the following sections:
Run the configutil command with the syslogfacility option:
configutil -o logfile.service.syslogfacility -v value
where service is admin, pop, imap, imta, or http and value is user, mail, daemon, local0 to local7, or none.
Once the value is set, messages are logged to the syslog facility corresponding to the set value and all the other log file service options are ignored. When the option is not set or the value is none, logging uses the Messaging Server log files.
If your system does not support HTTP message access, that is, Webmail, you can disable HTTP logging by setting the following variables. Do not set these variables if your system requires Webmail support (for example, Messenger Express).
Run the following configutil commands:
configutil -o service.http.enable -v no configutil -o service.http.enablesslport -v no
Run the following configutil command:
configutil -o logfile.service.loglevel -v level
where service is admin, pop, imap, imta, or http and loglevel is Nolog, Critical, Error, Warning, Notice, Information, or Debug.
Run the following configutil command:
configutil -o logfile.service.maxlogfilesize -v size |
where size specifies a number of bytes.
Run the following configutil command:
configutil -o logfile.service.rollovertime -v number |
where number specifies a number of seconds.
Run the following configutil command:
configutil -o logfile.service.maxlogfiles -v number |
where number specifies the maximum number of log files.
Run the following configutil command:
configutil -o logfile.service.maxlogsize -v number |
where number specifies a number in bytes.
Run the following configutil command:
configutil -o logfile.service.minfreediskspace -v number |
where number specifies a number in bytes.
configutil -o logfile.service.expirytime -v number |
where number specifies a number in seconds.