Skip to content

Commit 5cd2053

Browse files
committed
Fixed logfile symlink issue.
1 parent 8c8c5e6 commit 5cd2053

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

simpledaemonlog/logsetup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def setup_file(application_name, logdir="log", level=logging.NOTSET, fs=DEFAULT_
6767
if os.path.islink(loglinkpath):
6868
os.unlink(loglinkpath)
6969

70-
os.symlink(logfilepath, loglinkpath)
70+
os.symlink(logfilename, loglinkpath)
7171

7272
formatter = logging.Formatter(fs)
7373
logfile.setFormatter(formatter)

0 commit comments

Comments
 (0)