[sheepdog-users] logrotate

Hitoshi Mitake mitake.hitoshi at gmail.com
Wed Sep 3 08:41:51 CEST 2014


On Tue, Sep 2, 2014 at 7:33 PM, Valerio Pachera <sirio81 at gmail.com> wrote:
> I configured logrorate for /var/lib/sheep/sheep.log.
> It does it but I noticed sheep daemon keeps writing on the old file:
>
> -rw-r--r-- 1 root root        0 ago 31 06:25 /var/lib/sheepdog/sheep.log
> -rw-r--r-- 1 root root   176838 set  2 12:29 /var/lib/sheepdog/sheep.log.1
>
> /var/lib/sheepdog/sheep.log has been created this morning but messages keep
> going to /var/lib/sheepdog/sheep.log.1.
>
> For the little I know, it's something about file descriptors (or something
> like that).
>
> What do you suggest for rotating the log file?

It is a serious problem, thanks for your sharing. BTW, can you
reproduce it easily? Our internal team tested the feature heavily in
the past, so I'm surprising. I'll share it with my team.

Thanks,
Hitoshi

>
> --
> 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