User defined debug output path
commit4dcb0e0db92c780255577d9a91195c64c781d6b8
authorwgw <tjm1100@gmail.com>
Wed, 5 Mar 2008 02:32:56 +0000 (4 20:32 -0600)
committerwgw <tjm1100@gmail.com>
Wed, 5 Mar 2008 02:32:56 +0000 (4 20:32 -0600)
treea8da95830cca6d9e78d6bface61317adadf494e8
parentc1400e9a79720bf1ac91e1bf94e0bd4bcfe04407
User defined debug output path

Usage:
Add the following to pyTivo.conf Server section:
debug = true, path, split
where path is the directory where debug.txt is to be written.
split will cause debug output to be written to separate files
by module name.  If either path or split is specified, the
pyTivo folder name is added to the debug.txt file name.

Examples:
debug = true, c:\debug
writes debug.txt to the directory c:\debug, if it exists.

debug = true, c:\debug, split
writes debug.txt to the directory c:\debug, if it exists,
and splits the output to separate files by source module.
For example, debug output would be written to the following files:
c:\debug\debug.pytivo.video.txt
c:\debug\debug.pytivo.transcode.txt

debug = true,,split
splits the debug output to separate files in the pytivo folder.

debug = true
write debug output to file debug.txt in pytivo folder.
config.py
debug.py