#2808 closed bug (Fixed)
Deluge Log File Not Working as Intended
Reported by: | Doadin | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 2.0.0 |
Component: | Core | Version: | develop |
Keywords: | Cc: |
Description
On a python 2.7 build writeing logs to a file doesnt work properly. if you set rotatiing logs it works fine however normal loging (filemode w?) the log is cleared every time it writes a new line. So instead of having a clear fresh log every time you open deluge what you have it just one line staying something about shuting down (or w.e. the last message is). What seems to be happening is it opens the file clears it writes the message closes then repeats every message.
Change History (8)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
Milestone: | 1.3.13 → 2.0 |
---|
comment:3 by , 8 years ago
Can you test if this fixes the issue: https://github.com/bendikro/deluge/commit/58bc8b6ec79b4e9d120e6356fb142cbea61682e0
This may work if the problem is due to using WatchedFileHandler on Windows.
comment:4 by , 8 years ago
Currently on windows 10 it also happened on windows 8/8.1 if i remeber correctly. And yes i can test.
On what OS are you testing this?