When sab makes 3 log files i first have to rename each them to .txt so notepad can view them.
why not a usefull name like
sabnzbd.log.1.txt
sabnzbd.log.2.txt
sabnzbd.log.3.txt
or
sabnzbd01.log.txt
sabnzbd02.log.txt
sabnzbd03.log.txt
Instead of:
sabnzbd.log.1
sabnzbd.log.2
sabnzbd.log.3
Thanks
more usefull naming for log files
-
nzb_leecher
- Full Member

- Posts: 211
- Joined: January 22nd, 2008, 1:38 pm
Re: more usefull naming for log files
for me it works to open with notepad.
No need to rename
No need to rename
-
nzb_leecher
- Full Member

- Posts: 211
- Joined: January 22nd, 2008, 1:38 pm
Re: more usefull naming for log files
Also via a doubleclick on the logfile? Here it ask me wich program i have to use to view the "log.2" file.rascalli wrote: for me it works to open with notepad.
No need to rename
Re: more usefull naming for log files
I'll check if there's a simple way to do this.
The names are generated by the internal Python logger.
sabnzbd.1.log etc would be best.
The ".log" extension is associated with Notepad by default.
The names are generated by the internal Python logger.
sabnzbd.1.log etc would be best.
The ".log" extension is associated with Notepad by default.
-
nzb_leecher
- Full Member

- Posts: 211
- Joined: January 22nd, 2008, 1:38 pm
Re: more usefull naming for log files
Any succes with this one?shypike wrote: I'll check if there's a simple way to do this.
The names are generated by the internal Python logger.
sabnzbd.1.log etc would be best.
The ".log" extension is associated with Notepad by default.
Re: more usefull naming for log files
Not really. The naming system is hard-coded in the Python logger.
I don't feel like re-writing part of the Python library to solve this problem.
It's just not worth it.
You could add a shortcut to notpad to the SendTo folder.
That way you can right-click the logfile and say "Send to: Notepad".
I don't feel like re-writing part of the Python library to solve this problem.
It's just not worth it.
You could add a shortcut to notpad to the SendTo folder.
That way you can right-click the logfile and say "Send to: Notepad".
Last edited by shypike on April 5th, 2008, 3:49 am, edited 1 time in total.
-
nzb_leecher
- Full Member

- Posts: 211
- Joined: January 22nd, 2008, 1:38 pm
Re: more usefull naming for log files
ok thanks for looking into it.

