[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: log / jour



Le Mon, Feb 05, 2001 at 03:56:36PM +0000, stephane.legrand@ifrance.com [stephane.legrand@ifrance.com] a écrit:
> Salut,
> 
> j'ai une petite question,
> je voudrais avoir les logs par jour,
> est - ce que c'est possible ??
> ( je n'ai rien trouvé sur le sujet )

Pas sur d'avoir compris la question, mais regarde logrotate :

domi@triton:~$ dpkg -s logrotate | grep -A 20 Description
Description: Log rotation utility
 The logrotate utility is designed to simplify the administration of
 log files on a system which generates a lot of log files.  Logrotate
 allows for the automatic rotation compression, removal and mailing of
 log files.  Logrotate can be set to handle a log file daily, weekly,
 monthly or when the log file gets to a certain size.  Normally, logrotate
 runs as a daily cron job.


Dom

-- 
Dominique Rousseau <d.rousseau@nnx.com> - http://www.neuronnexion.com

...and always remember the last words of my grandfather, who said "A truck!"



Reply to: