Page 1 of 1
more usefull naming for log files
Posted: February 14th, 2008, 2:13 pm
by nzb_leecher
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
Re: more usefull naming for log files
Posted: February 14th, 2008, 5:40 pm
by rascalli
for me it works to open with notepad.
No need to rename
Re: more usefull naming for log files
Posted: February 15th, 2008, 5:25 am
by nzb_leecher
rascalli wrote:
for me it works to open with notepad.
No need to rename
Also via a doubleclick on the logfile? Here it ask me wich program i have to use to view the "log.2" file.
Re: more usefull naming for log files
Posted: February 15th, 2008, 5:52 am
by shypike
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
Posted: April 4th, 2008, 11:52 am
by nzb_leecher
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.
Any succes with this one?
Re: more usefull naming for log files
Posted: April 5th, 2008, 3:47 am
by shypike
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".
Re: more usefull naming for log files
Posted: April 5th, 2008, 4:09 am
by nzb_leecher
ok thanks for looking into it.