mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 10:36:52 -07:00
Changed nzbtomedia_configure_logging to accept a logfile paramater so that in the future if wanted we could log to seperate files
This commit is contained in:
parent
6cffd5364d
commit
4c35248561
8 changed files with 10 additions and 10 deletions
|
@ -135,7 +135,7 @@ if os.path.isfile(os.path.join(os.path.dirname(sys.argv[0]), "autoProcessMedia.c
|
|||
if os.environ.has_key('NZBOP_SCRIPTDIR'):
|
||||
migratecfg.addnzbget()
|
||||
|
||||
nzbtomedia_configure_logging(os.path.dirname(sys.argv[0]))
|
||||
nzbtomedia_configure_logging(LOG_FILE)
|
||||
Logger = logging.getLogger(__name__)
|
||||
|
||||
Logger.info("====================") # Seperate old from new log
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue