Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
6404 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
4314
1
feb 25
2166
1
mar 15
9271
2
gen 22
9850
7
gen 23
14316