Nothing gets logged by the mapper if logging is set to level 2. Only debug logging shows anything worthwhile. Of note is the fact that clamd seems to respawn itself 60 seconds after the SCAN command is issued. Has anyone seen something like this?
Here's the debug log snippet:
Code: Select all
2006-10-27 14:38:34:PID=32303:[Command Received]:SCAN:/var/opt/scalix/data/00000ci/00prbng
2006-10-27 14:38:34:PID=32303:/usr/bin/clamdscan --stdout /var/opt/scalix/data/00000ci/00prbng > /var/opt/scalix/tmp/clamav.log.32303
2006-10-27 14:39:34:PID=794:############## /var/opt/scalix/tmp/omvscan_cfg.794
2006-10-27 14:39:34:PID=794:OMAV_LOGFILE=$(omrealpath '~/logs/omvscan.log')
2006-10-27 14:39:34:PID=794:OMAV_LOGLEVEL=3
2006-10-27 14:39:34:PID=794:CLAMAV_ENGINE=/usr/bin/clamdscan
2006-10-27 14:39:34:PID=794:CLAMAV_SCAN_OPTIONS='--stdout'
2006-10-27 14:39:34:PID=794:CLAMAV_CLEAN_OPTIONS='--stdout'
2006-10-27 14:39:34:PID=794:CLAMAV_LOGPGX=$(omrealpath '~/tmp/clamav.log')
2006-10-27 14:39:34:PID=794:CLAMAV_USE_LOCKING=no
2006-10-27 14:39:34:PID=794:CLAMAV_LOCK_FILE=clamav.lock
2006-10-27 14:39:34:PID=794:############## /var/opt/scalix/tmp/omvscan_cfg.794
2006-10-27 14:39:34:PID=794:/usr/bin/clamdscan --stdout /tmp/clamav_test.794 > /var/opt/scalix/tmp/clamav.log.794
2006-10-27 14:39:34:PID=794:[Reply]:220 Virus Scanning Client Ready
2006-10-27 14:39:34:PID=794:[Command Received]:HELO From Scalix Service Router, Version 1.0
2006-10-27 14:39:34:PID=794:[Reply]:250 Ok