Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
5903 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
3896
1
feb 25
1423
1
mar 15
8706
2
gen 22
9159
7
gen 23
13819