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:
echel0n 2014-04-01 21:57:22 -07:00
commit 4c35248561
8 changed files with 10 additions and 10 deletions

View file

@ -436,7 +436,7 @@ if __name__ == "__main__":
migratecfg.migrate()
# Logging
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