Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[log] fichiers logs trop gros
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
qlsinclair
n00b
n00b


Joined: 19 Sep 2004
Posts: 17

PostPosted: Fri Oct 29, 2004 10:13 pm    Post subject: [log] fichiers logs trop gros Reply with quote

Depuis que je suis sous Gentoo, je prend l'habitude de regarder mes fichiers logs. Mais ils deviennent trop gros. Comment leurs donner une taille maxi ?
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Fri Oct 29, 2004 10:20 pm    Post subject: Re: [log] fichiers logs trop gros Reply with quote

qlsinclair wrote:
Depuis que je suis sous Gentoo, je prend l'habitude de regarder mes fichiers logs. Mais ils deviennent trop gros. Comment leurs donner une taille maxi ?

je pense que tu dois pouvoir faire ça avec logrotate.d cf les fichiers de conf dans /etc/logrotate.d
et tu dois trouver des tutos sur le web
il y a aussi un bô paquet: emerge -av logrotate
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
Back to top
View user's profile Send private message
LostControl
l33t
l33t


Joined: 02 Mar 2004
Posts: 885
Location: La Glane, Suisse

PostPosted: Sun Oct 31, 2004 10:19 pm    Post subject: Reply with quote

Si tu utilises metalog, regarde les valeurs de "maxsize", "maxfiles", ... dans "/etc/metalog/metalog.conf"

A+
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum