diff options
author | 2010-05-19 11:58:04 -0500 | |
---|---|---|
committer | 2010-05-19 11:58:04 -0500 | |
commit | b487f606e9ef7bf495539f229b1f295fb8fc977b (patch) | |
tree | 8170a98c846c6cfe0bede54765841090b5e4622f | |
parent | fixing AD_LOG_PREFIX to work correctly (diff) | |
download | gentoo-ads-b487f606e9ef7bf495539f229b1f295fb8fc977b.tar.gz gentoo-ads-b487f606e9ef7bf495539f229b1f295fb8fc977b.tar.bz2 gentoo-ads-b487f606e9ef7bf495539f229b1f295fb8fc977b.zip |
fix for syslog stripping messages in [ ]
-rw-r--r-- | gentoo_ads/logging_setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoo_ads/logging_setup.py b/gentoo_ads/logging_setup.py index 8f653f1..254ffa8 100644 --- a/gentoo_ads/logging_setup.py +++ b/gentoo_ads/logging_setup.py @@ -26,7 +26,7 @@ def setup_logging(): else: logger.setLevel(logging.INFO) - formatter = logging.Formatter("["+AD_LOG_PREFIX+"] %(levelname)s %(message)s") + formatter = logging.Formatter(""+AD_LOG_PREFIX+" %(levelname)s %(message)s") # test console logger if LOGGING_DEBUG: |