We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c8c5e6 commit 5cd2053Copy full SHA for 5cd2053
1 file changed
simpledaemonlog/logsetup.py
@@ -67,7 +67,7 @@ def setup_file(application_name, logdir="log", level=logging.NOTSET, fs=DEFAULT_
67
if os.path.islink(loglinkpath):
68
os.unlink(loglinkpath)
69
70
- os.symlink(logfilepath, loglinkpath)
+ os.symlink(logfilename, loglinkpath)
71
72
formatter = logging.Formatter(fs)
73
logfile.setFormatter(formatter)
0 commit comments