aboutsummaryrefslogtreecommitdiffstats
path: root/python/collateral
diff options
context:
space:
mode:
Diffstat (limited to 'python/collateral')
-rw-r--r--python/collateral/__init__.py6
-rw-r--r--python/collateral/__main__.py2
2 files changed, 1 insertions, 7 deletions
diff --git a/python/collateral/__init__.py b/python/collateral/__init__.py
index ab60aae6..42d2f406 100644
--- a/python/collateral/__init__.py
+++ b/python/collateral/__init__.py
@@ -7,11 +7,5 @@ try:
except KeyError:
sys.exit("Please set 'DAILY_DIR' and 'LOG_DIR' in the environment")
-from utils import SerenitasFileHandler
from dates import bus_day
from remote import SftpClient, SftpClient2
-
-fh = SerenitasFileHandler("collateral_calc.log")
-logger = logging.getLogger(__name__)
-logger.addHandler(fh)
-logger.setLevel(logging.WARNING)
diff --git a/python/collateral/__main__.py b/python/collateral/__main__.py
index fcbc3fdf..f10ed8a2 100644
--- a/python/collateral/__main__.py
+++ b/python/collateral/__main__.py
@@ -12,7 +12,7 @@ import datetime
import logging
fh = SerenitasFileHandler("collateral_calc.log")
-logger = logging.getLogger("collateral_calc")
+logger = logging.getLogger("collateral")
logger.addHandler(fh)
logger.setLevel(logging.WARNING)