PDA

View Full Version : Making slimserver open & close its log file



max.spicer
2005-04-28, 15:14
I've just added a logrotate entry for slimserver. The postrotate entry is currently /etc/init.d/slimserver restart, which just kills slimserver and restarts it. I'm unlikely to be listening to music when this happens, but it would be a pain if I was. I don't suppose there's some way of getting a running slimserver to close and open its log file by sending it a signal, is there?

PS No, you're not suffering from déja vu - I've moved this from the general forum.

jth
2005-04-28, 15:44
From taking a peek at slimserver.pl, the mostly likely candidate is SIGHUP, but I don't think it'll work since the logging code is elsewhere.

max.spicer
2005-04-29, 04:53
From taking a peek at slimserver.pl, the mostly likely candidate is SIGHUP, but I don't think it'll work since the logging code is elsewhere.
Should I file a bug on this? I'm not up to speed with the bug filing etiquette over here.

Max

dean
2005-04-29, 06:57
On Apr 29, 2005, at 4:53 AM, max.spicer wrote:
>> From taking a peek at slimserver.pl, the mostly likely candidate is
>> SIGHUP, but I don't think it'll work since the logging code is
>> elsewhere.
>>
> Should I file a bug on this? I'm not up to speed with the bug filing
> etiquette over here.
That would be great.

Just go to http://bugs.slimdevices.com and fill out a bug report.

max.spicer
2005-04-29, 11:56
Bug 1468 has now been submitted. These forums should automatically turn phrases such as bug xxxx into a bugzilla link, by the way. Let me guess, file a bug? ;-)