cc-4105: cleaned up config stuff
This commit is contained in:
parent
8899c581d1
commit
701a618896
3 changed files with 15 additions and 4 deletions
|
@ -3,8 +3,12 @@ import abc
|
|||
import traceback
|
||||
from media.monitor.pure import LazyProperty
|
||||
|
||||
logger = logging.getLogger('mediamonitor2')
|
||||
logging.basicConfig(filename='/home/rudi/throwaway/mm2.log', level=logging.DEBUG)
|
||||
logfile = '/home/rudi/throwaway/mm2.log'
|
||||
#logger = None
|
||||
|
||||
def setup_logging(log_path):
|
||||
#logger = logging.getLogger('mediamonitor2')
|
||||
logging.basicConfig(filename=log_path, level=logging.DEBUG)
|
||||
|
||||
appname = 'mediamonitor2'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue