From b487f606e9ef7bf495539f229b1f295fb8fc977b Mon Sep 17 00:00:00 2001 From: Matthew Summers Date: Wed, 19 May 2010 11:58:04 -0500 Subject: fix for syslog stripping messages in [ ] --- gentoo_ads/logging_setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gentoo_ads') 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: -- cgit v1.2.3-65-gdbad