kolide / fleet

A flexible control server for osquery fleets
https://kolide.com/fleet
MIT License
1.1k stars 261 forks source link

Log rotation related bug #1715

Open kemalbayar opened 6 years ago

kemalbayar commented 6 years ago

What version of fleet are you using (fleet version --full)?

What operating system are you using?

What did you do?

if osquery_results log file not exist on its directory, kolide fleet server creates it, but if Kolide server runs with the osquery_enable_log_rotation=true flag and if osquery_results file isnt exist, in this case Kolide isn’t creating osquery_results log file so although Kolide server seems working, the logging isn't starting

What did you expect to see?

What did you see instead?

groob commented 6 years ago

I remember running into this. https://github.com/kolide/fleet/pull/1617

You can work around this issue by using your own logrotate.