This commit is contained in:
Donald Zou 2025-01-25 22:15:19 +08:00
parent 87ea3fc982
commit cd39aa2968
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@ accesslog = f"./log/access_{date}.log"
log_level = "debug" log_level = "debug"
capture_output = True capture_output = True
errorlog = f"./log/error_{date}.log" errorlog = f"./log/error_{date}.log"
pythonpath = "., ./modules"
if os.path.exists("./ssl-tls.ini"): if os.path.exists("./ssl-tls.ini"):
sslConfig = configparser.ConfigParser() sslConfig = configparser.ConfigParser()

View File

@ -2,7 +2,7 @@
Peer Job Logger Peer Job Logger
""" """
import sqlite3, os, uuid import sqlite3, os, uuid
from ..modules.Log import Log from .Log import Log
class PeerJobLogger: class PeerJobLogger:
def __init__(self, CONFIGURATION_PATH, AllPeerJobs): def __init__(self, CONFIGURATION_PATH, AllPeerJobs):