save debug.log in correct directory

master
Jonathan Warren 8 years ago
parent b6e0396333
commit e096c37f7e

@ -42,8 +42,6 @@ from api import MySimpleXMLRPCRequestHandler
from helper_startup import isOurOperatingSystemLimitedToHavingVeryFewHalfOpenConnections
import shared
import helper_startup
helper_startup.loadConfig()
from helper_sql import sqlQuery
import threading

@ -20,6 +20,8 @@ import logging
import logging.config
import shared
import sys
import helper_startup
helper_startup.loadConfig()
# TODO(xj9): Get from a config file.
log_level = 'DEBUG'

@ -859,6 +859,4 @@ def _checkAndShareBroadcastWithPeers(data):
shared.objectProcessorQueueSize += len(data)
objectProcessorQueue.put((objectType,data))
#helper_startup.loadConfig()
from debug import logger

Loading…
Cancel
Save