[clamav-users] Multiple logfiles for clamscan

Vladislav Kurz vladislav.kurz at webstep.net
Wed Oct 12 07:48:09 EDT 2016

On 10/12/16 12:25, Brad Scalio wrote:
> Is there a way to log-to-syslog for clamscan runs?  We pass the --log
> argument to write to an organizational defined log location for parsing for
> remote monitoring scripts but we also need to forward to arcsight
> collectors the scans for central management.  I know clamd and freshclam
> log by default to local6.* and have options to also send to syslog but is
> there a way to also do this for clamscan?


you can pipe the output to logger command. That will log to syslog with
configurable facility.priority. See man logger.

S pozdravem
        Vladislav Kurz

Centrála: Celní 17/5, 63900 Brno, CZ
Web: http://www.webstep.net
E-Mail: podpora at webstep.net
Tel: 840 840 700, +420 548 214 711
Obchodní podmínky: https://zkrat.to/op

More information about the clamav-users mailing list