Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Syslog-ng e logging
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Pancu
l33t
l33t


Joined: 16 Feb 2005
Posts: 612
Location: Cesena

PostPosted: Wed Jan 23, 2008 8:41 am    Post subject: Syslog-ng e logging Reply with quote

Ragazzi ho questo problema.
In poco meno di una settimana, il mio /var/log/messages occupa quasi 200Mb.
Come faccio a limitare il logging??
Qualcuno mi aiuta a configurare Syslog-ng??
Grazie.
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Wed Jan 23, 2008 8:53 am    Post subject: Reply with quote

Per configurare il logging: Manuale della Sicurezza in Gentoo - Logging.

Per limitare la dimensione dei file di log:
Code:

* app-admin/logrotate
     Available versions:  3.7.1-r2 3.7.2 {selinux}
     Homepage:            http://www.gentoo.org
     Description:         Rotates, compresses, and mails system logs

_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
Kernel78
Moderator
Moderator


Joined: 24 Jun 2005
Posts: 3652

PostPosted: Wed Jan 23, 2008 8:57 am    Post subject: Reply with quote

logrotate è definitivamente quello che fa per te, facilissimo da configurare e se la memoria non mi inganna viene installato con già una configurazione standard ...
_________________
Le tre grandi virtù di un programmatore: pigrizia, impazienza e arroganza. (Larry Wall).
Prima di postare un file togli i commenti con
Code:
grep -vE '(^[[:space:]]*($|(#|!|;|//)))'
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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