diff options
author | Doug Hellmann <doug.hellmann@dreamhost.com> | 2012-04-29 13:23:25 -0400 |
---|---|---|
committer | Doug Hellmann <doug.hellmann@dreamhost.com> | 2012-04-29 13:23:25 -0400 |
commit | 20e8878663cfdb13778bcadd209f1bb9f4bbc41a (patch) | |
tree | 85fa85de6dbfb63ae43c543f678417e21d40be6f | |
parent | ae9707617d1e29ca84e6f6067e63570a10870130 (diff) | |
download | cliff-tablib-20e8878663cfdb13778bcadd209f1bb9f4bbc41a.tar.gz |
use the stderr handle given to the app instead of assuming the default
-rw-r--r-- | cliff/app.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cliff/app.py b/cliff/app.py index 6b1a851..3d80710 100644 --- a/cliff/app.py +++ b/cliff/app.py @@ -118,7 +118,7 @@ class App(object): root_logger.addHandler(file_handler) # Send higher-level messages to the console via stderr - console = logging.StreamHandler() + console = logging.StreamHandler(self.stderr) console_level = {0: logging.WARNING, 1: logging.INFO, 2: logging.DEBUG, |