MongoDB : How to separate the log file by date? -
i'd separate log files date.
instance,
mongodb2015-08-23.log mongodb2015-08-24.log mongodb2015-08-25.log
i cannot find way this.
did miss options in config file?
my mongodb config file below.
systemlog: destination: file path: c:/mongodb/mongodb.log logappend: true
how can fix it?
one solution create cron job (scheduled task) rename
mongodb.log
mongodb2015-08-23.log
in last seconds (if possible) right before date change 2015-08-24
, example.
here brought specific date, need make generic.
Comments
Post a Comment