Hello,

I'm wondering if someone can tell me more about what Clam's logrotate 
functionality offers, in particular if it can compress and/or deletes log 
files? If Clam does compress / delete log files, how is it deciding when to do 
so (e.g. does it delete log files of a certain age)?

In our current Clam config we don't specify values for either the 
LogFileMaxSize nor the LogRotate settings. From reading the config comments I 
understand that LogFileMaxSize will default to 1M and therefore LogRotate will 
be enabled. When running our container we can see log files being created and 
rotated once they reach the size of 1M. However, we're seeing that our 
container is slowly getting filled up with these log files as they don't seem 
to be being deleted.

Does Clam's logrotate provide any compressing or deletion of log files? If so, 
what settings does it use? If this isn't functionality that's included in 
Clam's logroate, what's the recommended pattern to follow? I assume that would 
be to create config for a custom logrotate job which is then coped over when 
defining the Clam docker image?

For reference, we're making use of the Clam image clamav:1.0.1 from 
here<https://hub.docker.com/r/clamav/clamav>.

Thank you.
________________________________

Capgemini is a trading name used by the Capgemini Group of companies which 
includes Capgemini UK plc, a company registered in England and Wales (number 
943935) whose registered office is at No. 1, Forge End, Woking, Surrey, GU21 
6DB.
This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient, you are not authorized 
to read, print, retain, copy, disseminate, distribute, or use this message or 
any part thereof. If you receive this message in error, please notify the 
sender immediately and delete all copies of this message.
_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat

Reply via email to