We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65ec8b8 commit 3725aeeCopy full SHA for 3725aee
dpdispatcher/dlog.py
@@ -6,9 +6,9 @@
6
dlog = logging.getLogger("dpdispatcher")
7
dlog.propagate = False
8
dlog.setLevel(logging.INFO)
9
+cwd_logfile_path = os.path.join(os.getcwd(), "dpdispatcher.log")
10
+dlogf = logging.FileHandler(cwd_logfile_path, delay=True)
11
try:
- cwd_logfile_path = os.path.join(os.getcwd(), "dpdispatcher.log")
- dlogf = logging.FileHandler(cwd_logfile_path, delay=True)
12
dlog.addHandler(dlogf)
13
dlog.info(f"LOG INIT:dpdispatcher log direct to {cwd_logfile_path}")
14
except PermissionError:
0 commit comments