aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Summers <matthew.summers@liquidustech.com>2010-05-19 11:58:04 -0500
committerMatthew Summers <matthew.summers@liquidustech.com>2010-05-19 11:58:04 -0500
commitb487f606e9ef7bf495539f229b1f295fb8fc977b (patch)
tree8170a98c846c6cfe0bede54765841090b5e4622f
parentfixing AD_LOG_PREFIX to work correctly (diff)
downloadgentoo-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.py2
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: