does anyone know whether there’s a switch, option or the like during the installation of Icinga2 on either a Linux or Windows device to automatically truncate the icinga2.log? So that e.g. log entries older than 28 days are deleted from the logfile.
I’d like to do that centrally and not on a per server basis, so as to have a standard setting across all devices. Right now, we have some servers with multiple 100s of MB for their log.
An Linux there is log rotate for this and gets normally set up by the package.
On windows I think, Icinga is switching to eventlog or what ever is the name of the windows logging facility.
Hi Dominik, thank you for your reply. Where’d you get the info that the logging for IfW will be changed to the built in eventlog? That would definitely help as you can configure a maximum size for that one.