mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +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
|
||||
import logging
|
||||
|
||||
logging.basicConfig(filename='/storage/.xbmc/temp/sabnzbd-suite.log',
|
||||
logging.basicConfig(filename='/var/log/sabnzbd-suite.log',
|
||||
filemode='w',
|
||||
format='%(asctime)s SABnzbd-Suite: %(message)s',
|
||||
level=logging.DEBUG)
|
||||
level=logging.WARNING)
|
||||
|
||||
|
||||
|
||||
@ -398,4 +398,4 @@ headphonesConfig.write()
|
||||
|
||||
logging.debug('Launching Headphones...')
|
||||
subprocess.call(headphones)
|
||||
logging.debug('...done')
|
||||
logging.debug('...done')
|
||||
|
Loading…
x
Reference in New Issue
Block a user