Comment 12 for bug 1428150

Revision history for this message
Alexander Bozhenko (alexbozhenko) wrote :

Probably, we can address this issue:
 error: error creating output file /var/log/remote/172.31.2.82/mongod.27017.log.1: File exists
By using:
dateformat -%Y%m%d-%s

So, rotated files will look like:
filename.log-20150412-1428814861.gz

Since unix time seconds is uniq every time, no 'File exists' errors should be present.
This need to be tested.