Send log output to stderr

This commit is contained in:
Ben Firshman 2014-01-02 18:30:47 +00:00
parent 38478ea504
commit 6d0702e607
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ log = logging.getLogger(__name__)
def main():
console_handler = logging.StreamHandler()
console_handler = logging.StreamHandler(stream=sys.stderr)
console_handler.setFormatter(logging.Formatter())
console_handler.setLevel(logging.INFO)
root_logger = logging.getLogger()