From e35ade08fc18192060e7846e1839778753cf5590 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Sun, 17 Jun 2012 15:23:59 -0500 Subject: [PATCH] Change to INFO output in CLI (rather than DEBUG). --- downloader.py | 2 +- fanficdownloader/writers/base_writer.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/downloader.py b/downloader.py index deb1e67..abc3781 100644 --- a/downloader.py +++ b/downloader.py @@ -17,7 +17,7 @@ import logging ## XXX cli option for logging level. -logging.basicConfig(level=logging.DEBUG,format="%(levelname)s:%(filename)s(%(lineno)d):%(message)s") +logging.basicConfig(level=logging.INFO,format="%(levelname)s:%(filename)s(%(lineno)d):%(message)s") import sys, os from os.path import normpath, expanduser, isfile, join diff --git a/fanficdownloader/writers/base_writer.py b/fanficdownloader/writers/base_writer.py index abb70b1..f386ef3 100644 --- a/fanficdownloader/writers/base_writer.py +++ b/fanficdownloader/writers/base_writer.py @@ -195,7 +195,7 @@ class BaseStoryWriter(Configurable): if not outstream: close=True - logging.debug("Save directly to file: %s" % outfilename) + logging.info("Save directly to file: %s" % outfilename) if self.getConfig('make_directories'): path="" dirs = os.path.dirname(outfilename).split('/')