This question has been flagged
1 Reply
4427 Views

Hi all

Can we create log file per day invidually Please reply me ASAP. Thanks in Advance

Avatar
Discard
Best Answer

You can use logrotate, a standard and widely used linux utility that "splits" log files in different daily log files (or hourly, weekly, monthly.. it's configurable). You can also set how many days of logs you want to keep, and some other options.

Take a look at this tutorial.

Avatar
Discard