save debug.log in correct directory
This commit is contained in:
parent
b6e0396333
commit
e096c37f7e
|
@ -42,8 +42,6 @@ from api import MySimpleXMLRPCRequestHandler
|
||||||
from helper_startup import isOurOperatingSystemLimitedToHavingVeryFewHalfOpenConnections
|
from helper_startup import isOurOperatingSystemLimitedToHavingVeryFewHalfOpenConnections
|
||||||
|
|
||||||
import shared
|
import shared
|
||||||
import helper_startup
|
|
||||||
helper_startup.loadConfig()
|
|
||||||
from helper_sql import sqlQuery
|
from helper_sql import sqlQuery
|
||||||
import threading
|
import threading
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,8 @@ import logging
|
||||||
import logging.config
|
import logging.config
|
||||||
import shared
|
import shared
|
||||||
import sys
|
import sys
|
||||||
|
import helper_startup
|
||||||
|
helper_startup.loadConfig()
|
||||||
|
|
||||||
# TODO(xj9): Get from a config file.
|
# TODO(xj9): Get from a config file.
|
||||||
log_level = 'DEBUG'
|
log_level = 'DEBUG'
|
||||||
|
|
|
@ -859,6 +859,4 @@ def _checkAndShareBroadcastWithPeers(data):
|
||||||
shared.objectProcessorQueueSize += len(data)
|
shared.objectProcessorQueueSize += len(data)
|
||||||
objectProcessorQueue.put((objectType,data))
|
objectProcessorQueue.put((objectType,data))
|
||||||
|
|
||||||
|
|
||||||
#helper_startup.loadConfig()
|
|
||||||
from debug import logger
|
from debug import logger
|
||||||
|
|
Reference in New Issue
Block a user