Page MenuHomeSoftware Heritage

logrotate log spam: "error: error creating output file: FILE File exists"
Open, NormalPublic

Description

We are periodically spammed by the kind of messages in subject.

I clean them up sporadically (usually with find /var/log -type f -empty -delete), but it's to no avail. It reappears over and over again, drowning other interesting and useful log in this spam. It needs to stop.

I can imagine several fixes (the simplest would be to cron a find like the above before logrotate kicks in). But maybe there's an Occaml solution to this: why do we still bother with logrotate, given we have journald everywhere? Shouldn't we just embrace it more and get rid of logrotate silliness? Let's discuss this, and decide how to get rid of this spam, one way or another.

Event Timeline

zack created this task.Sep 4 2017, 8:59 AM
zack renamed this task from logrotate spam: "error: error creating output file: FILE File exists" to logrotate log spam: "error: error creating output file: FILE File exists".Sep 5 2017, 10:10 AM