diff options
Diffstat (limited to 'gentoo_ads/logging_setup.py')
-rw-r--r-- | gentoo_ads/logging_setup.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gentoo_ads/logging_setup.py b/gentoo_ads/logging_setup.py index a8ceef0..5a2d8b1 100644 --- a/gentoo_ads/logging_setup.py +++ b/gentoo_ads/logging_setup.py @@ -7,6 +7,10 @@ LOGGING_DEBUG = True SYS_LOG_ADDRESS = '/dev/log' +## Put in an identifying string like gentoo-ads +## This facilitates filtering with syslog +AD_LOG_PREFIX = 'example-domain-ads' + if not hasattr(logging, "set_up_done"): logging.set_up_done=False |