Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
6219 Visualizzazioni

Hi all

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

Avatar
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
mar 15
4160
1
feb 25
1874
1
mar 15
9062
2
gen 22
9569
7
gen 23
14102