Project

General

Profile

Logging

Added by balanga bar almost 7 years ago

Can anyone give me some hints on logging?

I know there are options

-l, --logfile
Enable debug to file.

but do I need to specify a logfile, or these just switches? Where is the logfiles written and is there any way to specify loglevel?


Replies (2)

RE: Logging - Added by Scuba Sound almost 7 years ago

you need to specify a logfile:
something like

 
-l /var/log/tvheadend.log

Then you can read the log file in real time like so:

tail -F /var/log/tvheadend.log

The log settings are specified from the GUI, you need to be in Advanced or Expert level though:
Configuration -> General -> Base -> User Interface Level
set to "Advanced" or "Expert"

Configuration -> Debugging -> Configuration

RE: Logging - Added by balanga bar almost 7 years ago

Thanks. I finally figure out that I needed to set the User Interface Level tp 'Advanced' before the Debugging option became available...

Now that I have a logfile can I set log level, or switch logging on and off as required from the GUI?

    (1-2/2)