[sheepdog-users] logrotate

Valerio Pachera sirio81 at gmail.com
Sun Oct 5 15:29:01 CEST 2014


2014-10-05 8:19 GMT+02:00 Hitoshi Mitake <mitake.hitoshi at gmail.com>:
> Valerio, could you share your configuration of your logrotate? Ordinal
> logrotate by SIGHUP works well on my environment.


echo '/var/lib/sheepdog/sheep.log' > /etc/logrotate.d/script

That means it uses the default logrotate options of debian:

# see "man logrotate" for details
# rotate log files weekly
weekly

# keep 4 weeks worth of backlogs
rotate 4

# create new (empty) log files after rotating old ones
create

# uncomment this if you want your log files compressed
#compress



More information about the sheepdog-users mailing list