Bug 18048 - Links to log files Logitech-Media Server Log File and Scanner Log File point to the same file
: Links to log files Logitech-Media Server Log File and Scanner Log File point ...
Status: RESOLVED WORKSFORME
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 7.7.2
: PC Other
: -- normal (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-24 14:06 UTC by Johannes
Modified: 2013-08-29 21:05 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes 2013-08-24 14:06:10 UTC
On settings / Information the two links at bottom "Logitech Media Server Log File" and "Scanner Log File" both point to "Logs/slimserver.log". It is not possible to see the scanner.log file. 

Suggested option. remove the "Scanner Log" text and link altogether. Or properly link the "Scanner Log" link
Comment 1 Johannes 2013-08-24 14:17:27 UTC
to be accurate:
both link text are /../Logs/slimserver.log

the link after "Logitech Media Server Log File" points to http://hostname:9000/server.log the one after "Scanner Log File" to http://hostname:9000/scanner.log.

However both these URLs will in effect download the Logs/slimserver.log file.

Confused?
Comment 2 Michael Herger 2013-08-27 07:37:38 UTC
What OS do you see this on? This isn't a common issue.
Comment 3 Johannes 2013-08-29 12:41:58 UTC
this i on archlinux
Comment 4 Michael Herger 2013-08-29 12:54:58 UTC
Pretty sure this is a platform specific or configuration issue. How did you install LMS? What command line parameters is it using?
Comment 5 Johannes 2013-08-29 13:41:39 UTC
I used the AUR package. And I will check the startup parameters.

Is there a (more) complete instructions of the the parameters than the --help text?

I see online --logfile as option. It is unclear if but I suppose that it is the slimserver.log. But where do I spec the scanner.log?
Comment 6 Johannes 2013-08-29 13:42:09 UTC
I used the AUR package. And I will check the startup parameters.

Is there a (more) complete instructions of the the parameters than the --help text?

I see online --logfile as option. It is unclear if but I suppose that it is the slimserver.log. But where do I spec the scanner.log?
Comment 7 Johannes 2013-08-29 19:40:34 UTC
/opt/logitechmediaserver/slimserver.pl \
        --prefsdir /opt/logitechmediaserver/prefs \
        --cachedir /opt/logitechmediaserver/cache \
        --logfile  /opt/logitechmediaserver/Logs/slimserver.log

Is how LMS is started.
Comment 8 Michael Herger 2013-08-29 19:47:48 UTC
> /opt/logitechmediaserver/slimserver.pl \
>         --prefsdir /opt/logitechmediaserver/prefs \
>         --cachedir /opt/logitechmediaserver/cache \
>         --logfile  /opt/logitechmediaserver/Logs/slimserver.log

That's wrong (or outdated). use --logdir=/opt/logitechmediaserver/Logs instead (or whatever folder you prefer). It'll then create two separate log files in that folder.
Comment 9 Johannes 2013-08-29 21:05:59 UTC
Works great thanks.  

The wiki might need a refresher though.