Logs and Log Rotation
This log is created by web filter ICAP daemon in /opt/websafety/var/log/error.log. This file is used to store information about program activity of wsicapd daemon. The error, info, warning and debug messages are logged to this file based on log level specified in the Admin UI. By default only informational messages are logged. Some critical start up messages may also be logged on console and/or dumped into syslog.
Error log can be viewed from web administrator console as shown on the following screenshot.
Log files are rotated on a daily basis using logrotate. Log daemon keeps backlog of 7 gzipped files by default. Log rotate script is stored in /etc/logrotate.d/websafety.