From e096c37f7ee5f632918fab498ccdfd708d5118d1 Mon Sep 17 00:00:00 2001 From: Jonathan Warren Date: Mon, 13 Oct 2014 01:59:16 -0400 Subject: [PATCH] save debug.log in correct directory --- src/bitmessagemain.py | 2 -- src/debug.py | 2 ++ src/shared.py | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/bitmessagemain.py b/src/bitmessagemain.py index 116abbd0..43de4fac 100755 --- a/src/bitmessagemain.py +++ b/src/bitmessagemain.py @@ -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 diff --git a/src/debug.py b/src/debug.py index 02ab94f8..30c64ea4 100644 --- a/src/debug.py +++ b/src/debug.py @@ -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' diff --git a/src/shared.py b/src/shared.py index 7acf5e2c..0a103ed1 100644 --- a/src/shared.py +++ b/src/shared.py @@ -859,6 +859,4 @@ def _checkAndShareBroadcastWithPeers(data): shared.objectProcessorQueueSize += len(data) objectProcessorQueue.put((objectType,data)) - -#helper_startup.loadConfig() from debug import logger