mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 14:37:59 +00:00
Changes log location and level
Logs to /var/log/sabnzbd-suite Changes log level to default (warning)
This commit is contained in:
parent
118dbcc789
commit
c1ba8121e2
@ -31,10 +31,10 @@ from configobj import ConfigObj
|
|||||||
from xml.dom.minidom import parseString
|
from xml.dom.minidom import parseString
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
logging.basicConfig(filename='/storage/.xbmc/temp/sabnzbd-suite.log',
|
logging.basicConfig(filename='/var/log/sabnzbd-suite.log',
|
||||||
filemode='w',
|
filemode='w',
|
||||||
format='%(asctime)s SABnzbd-Suite: %(message)s',
|
format='%(asctime)s SABnzbd-Suite: %(message)s',
|
||||||
level=logging.DEBUG)
|
level=logging.WARNING)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -398,4 +398,4 @@ headphonesConfig.write()
|
|||||||
|
|
||||||
logging.debug('Launching Headphones...')
|
logging.debug('Launching Headphones...')
|
||||||
subprocess.call(headphones)
|
subprocess.call(headphones)
|
||||||
logging.debug('...done')
|
logging.debug('...done')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user