Private GIT

Skip to content
Snippets Groups Projects
Commit 3214f879 authored by echel0n's avatar echel0n
Browse files

Fixed few misc things related to new logging code and webapi

parent 949c5643
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,11 @@ class CensorFilter(logging.Filter):
record.msg = record.msg.replace(v, len(v) * '*')
return True
def initLogging(logFile=os.path.join(sickbeard.LOG_DIR, 'sickrage.log'), consoleLogging=False, fileLogging=False, debug=False):
def initLogging(logFile=None, consoleLogging=False, fileLogging=False, debug=False):
# set logging filename
if not logFile:
logFile = os.path.join(sickbeard.LOG_DIR, 'sickrage.log')
# Add a new logging level DB
logging.addLevelName(DB, 'DB')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment