Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 5 of 5
  1. #1
    Senior Member max.spicer's Avatar
    Join Date
    Apr 2005
    Location
    York, United Kingdom
    Posts
    1,661

    Making slimserver open & close its log file

    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.
    Some people think the title of this song is irrelevant,
    but it's not irrelevant - it's a hippopotamus.

  2. #2
    Senior Member jth's Avatar
    Join Date
    Apr 2005
    Location
    Phoenix, AZ, USA
    Posts
    373
    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.

  3. #3
    Senior Member max.spicer's Avatar
    Join Date
    Apr 2005
    Location
    York, United Kingdom
    Posts
    1,661
    Quote Originally Posted by jth
    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
    Some people think the title of this song is irrelevant,
    but it's not irrelevant - it's a hippopotamus.

  4. #4
    Gadfly, Former Founder Slim Devices dean's Avatar
    Join Date
    Apr 2005
    Location
    San Francisco, CA
    Posts
    4,427

    Re: Making slimserver open & close its logfile

    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.


  5. #5
    Senior Member max.spicer's Avatar
    Join Date
    Apr 2005
    Location
    York, United Kingdom
    Posts
    1,661
    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? ;-)
    Some people think the title of this song is irrelevant,
    but it's not irrelevant - it's a hippopotamus.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •