F-PROT Antivirus looks for the variable FPROT_LOGLEVEL in /etc/f-prot.conf to determine the amount of information to write to the system logs. The legal FPROT_LOGLEVEL values correspond to the kernel syslog()'s loglevels, and are passed as-is to the system logger.
As with any other system log messages, all of F-PROT log messages marked with lower or equal loglevel then FPROT_LOGLEVEL will be put in the system logs, while messages marked with a higher level are discarded. This applies to all relevant F-PROT components, i.e. those that write to system logs (f-protd, f-prot-qmail, f-prot-milter, f-prot.so).
The default loglevel is 4, which logs all warnings and errors, but the system administrator can increase or decrease the loglevel if he/she so wishes by changing the value of the FPROT_LOGLEVEL variable.
The valid loglevels are listed below:
|1||LOG_ALERT||Action must be taken immediately|
|5||LOG_NOTICE||Normal, but significant, condition|
By default, f-protd and f-prot.so log to the 'daemon' facility and the mail server plugins log to the 'mail' facility. By changing the FPROT_LOGFACILITY variable in /etc/f-prot.conf you can direct the logs from f-protd and f-prot.so to another facility. See the syslog man pages (sections 3 and 7) for your system and /etc/f-prot.conf for details.< Previous | Back to Index | Next >