lard, rotate doesn't work?

 
Post new topic   Reply to topic    Lunar-Linux Forum Index -> Installing Lunar
View previous topic :: View next topic  
Author Message
Stelz



Joined: 27 Sep 2005
Posts: 4
Location: Esperanza

PostPosted: Tue Jun 27, 2006 10:16 am    Post subject: lard, rotate doesn't work? Reply with quote

i've checked everything, dunno what's wrong Sad

here's my config:
Code:

# [ /etc/lard.conf ] :: [ VLC ] :: [ by Stelz ][ 2006-06-12 ]

# ---------------+
# Global options |

rotate weekly
keep 7
compress bzip2

# ------+
# Rules |

file "/var/log/messages"
   log !lpr,!mail,!cron,!auth.!debug

file "/var/log/mail"
   log mail.!debug

file "/var/log/auth"
   log auth.*

file "/var/log/debug"
   format "%{TIMESTAMP} %{HOSTNAME} <%{facility}.%{priority}> %{MSG}\n"
   keep 4
   log *.debug

file "/var/log/user"
   log user.!debug

file "/var/log/cron"
   log cron.!debug

file "/var/log/daemon"
   log daemon.!debug

file "/var/log/lpr"
   log lpr.!debug

file "/var/log/kernel"
   log kern.!debug


Maybe i forgot smthng? checked with "rotate hourly" too.. doesn't work on my 1.6 box.
_________________


There is intelligent life out there...
#trance @ slz.sytes.net/6667
Back to top
View user's profile Send private message Visit poster's website
sofar



Joined: 11 Aug 2005
Posts: 172

PostPosted: Tue Jun 27, 2006 2:10 pm    Post subject: send lard a rotate signal Reply with quote

you have to run `lard -s` from crontab. without it lard doesn't know when to `check` for rotate events.
Back to top
View user's profile Send private message Send e-mail
RedKennedy



Joined: 22 Aug 2005
Posts: 57
Location: The Moon

PostPosted: Tue Jun 27, 2006 4:48 pm    Post subject: Reply with quote

rotating's overrated. my log is about 200 megabytes...and i think striker's is near 3 gigs.
_________________
In Soviet Russia, ISOs install you.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
Stelz



Joined: 27 Sep 2005
Posts: 4
Location: Esperanza

PostPosted: Tue Jun 27, 2006 7:27 pm    Post subject: Reply with quote

RedKennedy wrote:
rotating's overrated. my log is about 200 megabytes...and i think striker's is near 3 gigs.


there is a "keep" setting..

thx, sofar.. works fine.. but another question: how i could log anything from lighttpd, proftpd, slim (lol), etc.? just configure them to log into these files? But i want one log for http.. one log for ftp.. etc.
_________________


There is intelligent life out there...
#trance @ slz.sytes.net/6667
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Lunar-Linux Forum Index -> Installing Lunar 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


Powered by phpBB © 2001, 2005 phpBB Group