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.
Probably, we can address this issue: remote/ 172.31. 2.82/mongod. 27017.log. 1: File exists
error: error creating output file /var/log/
By using:
dateformat -%Y%m%d-%s
So, rotated files will look like: log-20150412- 1428814861. gz
filename.
Since unix time seconds is uniq every time, no 'File exists' errors should be present.
This need to be tested.