Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Logfile in 7.6

  1. #1
    Senior Member
    Join Date
    Jun 2006
    Location
    Portland, OR
    Posts
    566

    Question Logfile in 7.6

    Hello,

    I am not sure if this is the right part of the forum. But since I was not able to find this somwhere else, I decided to go for the general discussion.

    I have installed 7.6 on a X86 based QNAP NAS. SbS is running through SSOTS4 and I have not changed anything after installing 7.6. It seems to be that SbS is logging every warning. This was not the case with all earlier SbS versions. In SbS I have set all logging to "on failure", but this did not help. I have added nodebuglog and noinfolog to the startup of SbS, but this resultd also in no change of the behavior.

    Does somebody else observe the same behavior, or is this only on the SSOTS based system?

    Is there some other "switch" to turn the logging off?

    Other than that, I was not able to find serious issues with 7.6.

    Thanks
    Mr_Hyde
    2 x Squeezebox 3 - 1 x Squeezebox Touch - SSOTS 4.14 - Squeezecenter 7.7.3 - QNAP TS439 Pro (3.6.3) - 4 x 500 GB Hitachi (RAID5)

  2. #2
    Senior Member erland's Avatar
    Join Date
    Dec 2005
    Location
    Sweden
    Posts
    11,014
    Could you give an example of log messages you see in the log which you would like not to be logged ?
    Erland Isaksson (My homepage)
    Lead platform developer of ickStream Music Platform - A world of music at your fingertips

    (Also developer of many plugins/applets)

  3. #3
    Senior Member
    Join Date
    Jun 2006
    Location
    Portland, OR
    Posts
    566
    Hi erland,

    thanks for your response.

    Please find attached (log1.zip)a part of the zip file. It can grow up to 7 MB per day.

    in Log2.txt you will find another part of the logfile with the start options of SbS.

    At that time I have modified slimserver.pl slightly and "disabled" logging in the source code. I know, that this is not the correct way but it works for now.

    On this NAS, SbS is set to use its own perl modules. Consequently it uses the log4perl which is in the CPAN. Have not tried the other one whih is in SSOTS.

    [code]
    sub initLogging {
    # open the log files
    # Slim::Utils::Log->init({
    # 'logconf' => $logconf,
    # 'logdir' => $logdir,
    # 'logfile' => $logfile,
    # 'logtype' => 'server',
    # 'debug' => $debug,
    # });
    }
    [\code]
    2 x Squeezebox 3 - 1 x Squeezebox Touch - SSOTS 4.14 - Squeezecenter 7.7.3 - QNAP TS439 Pro (3.6.3) - 4 x 500 GB Hitachi (RAID5)

  4. #4
    Senior Member
    Join Date
    May 2009
    Location
    Witham, Essex. UK
    Posts
    497
    Quote Originally Posted by mr_hyde View Post
    Hi erland,

    thanks for your response.

    Please find attached (log1.zip)a part of the zip file. It can grow up to 7 MB per day.

    in Log2.txt you will find another part of the logfile with the start options of SbS.

    At that time I have modified slimserver.pl slightly and "disabled" logging in the source code. I know, that this is not the correct way but it works for now.

    On this NAS, SbS is set to use its own perl modules. Consequently it uses the log4perl which is in the CPAN. Have not tried the other one whih is in SSOTS.

    [code]
    sub initLogging {
    # open the log files
    # Slim::Utils::Log->init({
    # 'logconf' => $logconf,
    # 'logdir' => $logdir,
    # 'logfile' => $logfile,
    # 'logtype' => 'server',
    # 'debug' => $debug,
    # });
    }
    [\code]
    Hi mr_hyde,

    I took a look at your log file and I get exactly the same type of output. Trying to set log settings to 'Off' doesn't work for me either.

    Bob
    1 x Touch
    1 x Radio
    1 x Boom
    1 x Intel-NUC server/squeezelite running LMS 7.91 on Windows 10
    1 X Odroid-XU4 server/squeezelite running LMS 7.91 on Ubuntu 16.04
    WaveIO USB into Lavry DA-10 DAC
    Starfish Pre-amp : Based on NAIM NAC 72
    Heavily modified NAIM NAP 250 Power-amp
    Behringer DEQ2496
    Linn Isobarik DMS

  5. #5
    Senior Member JJZolx's Avatar
    Join Date
    Apr 2005
    Location
    Colorado
    Posts
    11,469
    I have a feeling that stuff may have been added to logging by whoever ports SBS to the QNAP. He probably forgot to disable it.

  6. #6
    Senior Member
    Join Date
    Jun 2006
    Location
    Portland, OR
    Posts
    566
    Quote Originally Posted by JJZolx View Post
    I have a feeling that stuff may have been added to logging by whoever ports SBS to the QNAP. He probably forgot to disable it.
    On the one hand I have the same feeling. On the other hand I do not understand, why I can't observe this with all older versions of SbS (e.g. 7.5.4, 7.5.5)
    2 x Squeezebox 3 - 1 x Squeezebox Touch - SSOTS 4.14 - Squeezecenter 7.7.3 - QNAP TS439 Pro (3.6.3) - 4 x 500 GB Hitachi (RAID5)

  7. #7
    Senior Member JJZolx's Avatar
    Join Date
    Apr 2005
    Location
    Colorado
    Posts
    11,469
    Quote Originally Posted by mr_hyde View Post
    On the one hand I have the same feeling. On the other hand I do not understand, why I can't observe this with all older versions of SbS (e.g. 7.5.4, 7.5.5)
    He may have had trouble specifically with getting 7.6 to work, added the additional statements, but neglected to remove them before making the package available.

  8. #8
    Senior Member
    Join Date
    Jun 2006
    Location
    Portland, OR
    Posts
    566
    Quote Originally Posted by JJZolx View Post
    He may have had trouble specifically with getting 7.6 to work, added the additional statements, but neglected to remove them before making the package available.
    ok, I will bring this up in the corresponding QNAP forum.

    However, I will try one more thing. As I mentioned, the package is configured to use the SbS CPAN modules. I will try to use at least the log4perl module from the QNAP package. Maybe this has an impact.
    2 x Squeezebox 3 - 1 x Squeezebox Touch - SSOTS 4.14 - Squeezecenter 7.7.3 - QNAP TS439 Pro (3.6.3) - 4 x 500 GB Hitachi (RAID5)

  9. #9
    Senior Member
    Join Date
    Jun 2006
    Location
    Portland, OR
    Posts
    566
    Just an update.

    I tried to use the log4perl module that has been provided with SSOTS -> no change of the behavior.

    Modified the last lines file Log.pm in ../Slim/Utils:

    Code:
    sub PRINT {
            my $self = shift;
    
    #       $Log::Log4perl::caller_depth++;
    
    #       Slim::Utils::Log::logger('')->error("Warning: ", @_);
    
    #       $Log::Log4perl::caller_depth--;
    }
    This stopped at least the logging of all warnings. I know that this is not the solution, but it helps at least until the problem is fixed.

    I compared also the code of the corresponding 7.5.5 package and was not able to find a difference for these parts. What could impact this behavior? Settings through compilation of PERL? However, when I install the 7.5.5 version of SbS under the same system, the behavior is different. And I use the official SbS packages from logitech.
    2 x Squeezebox 3 - 1 x Squeezebox Touch - SSOTS 4.14 - Squeezecenter 7.7.3 - QNAP TS439 Pro (3.6.3) - 4 x 500 GB Hitachi (RAID5)

  10. #10
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,779
    Quote Originally Posted by JJZolx View Post
    I have a feeling that stuff may have been added to logging by whoever ports SBS to the QNAP. He probably forgot to disable it.
    Not sure, rather looks like the SugarCube plugin causing endless errors and warnings due to undefined variables.
    Michael

    http://www.herger.net/slim-plugins - Spotty, MusicArtistInfo

Tags for this Thread

Posting Permissions

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