[sheepdog-users] logrotate
Hitoshi Mitake
mitake.hitoshi at gmail.com
Tue Oct 7 15:30:28 CEST 2014
On Sun, Oct 5, 2014 at 7:29 AM, Valerio Pachera <sirio81 at gmail.com> wrote:
> 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.
I created a branch for debian style log rotate:
https://github.com/sheepdog/sheepdog/tree/logrotate
Could you test it, Valerio? You can use the debian style rotation with
the sheep option "-l rotate=debian".
# Currently, I don't have ordinal debian environment... sorry
Thanks,
Hitoshi
>
>
> 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
> --
> sheepdog-users mailing lists
> sheepdog-users at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/sheepdog-users
More information about the sheepdog-users
mailing list