JJZolx;520318 Wrote: 
> I also see that the first log is missing the final two notifies, so
> appears not to have completed, or it didn't think it completed.
> 
> Notify to server: ["end"]
> Notify to server: ["exit"]

Let me guess...

*nix based server?

Logrotate runs at 6amish?  (ie, just a bit after your log stops.)

This looks like my pet bug:
https://bugs.slimdevices.com/show_bug.cgi?id=15672

It would be really nice that gets confirmed sometime...

It affects logging on *nix platforms from shortly after it was fixed
last spring.

The bug was filed two weeks ago, and despite asking for someone to mark
it is confirmed and a few followups, it languishes ignored...

And, yes, this affects 7.4.2 as well.

/grumpy with changes to bugzilla.

If you have privs, please confirm it, it is trivial to replicate:

Get the size of the current server.log

Edit /etc/logrotate.d/squeezeboxserver to have a max log size be
smaller than the existing server.log

Run logrotate.

Run ps and get the pid of SBS.

lsof -p <pid>

Notice that the log now goes to /var/log/squeezeboxserver/server.log.1
(deleted).

Go back to bugzilla and confirm that bug: logrotation fails in multiple
ways (invalid process name, should just use the pid file, and the signal
is ignored by SBS anyway).


-- 
snarlydwarf
------------------------------------------------------------------------
snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=75605

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to