[geany/infrastructure] 41672f: Make log email address list more visible
Enrico Tröger
git-noreply at xxxxx
Sun Jun 16 08:51:15 UTC 2013
Branch: refs/heads/master
Author: Enrico Tröger <enrico.troeger at uvena.de>
Committer: Enrico Tröger <enrico.troeger at uvena.de>
Date: Sun, 16 Jun 2013 08:51:15 UTC
Commit: 41672fb365ac80d1622827ed2d25e40391422626
https://github.com/geany/infrastructure/commit/41672fb365ac80d1622827ed2d25e40391422626
Log Message:
-----------
Make log email address list more visible
Modified Paths:
--------------
scripts/git2irc/git2irc.py
Modified: scripts/git2irc/git2irc.py
6 files changed, 4 insertions(+), 2 deletions(-)
===================================================================
@@ -58,8 +58,10 @@
# hard-coded constants, adjust for environment
-LOG_FILENAME = '/var/log/git2irc.log'
CONFIG_FILENAME = '/home/geany/git2irc.conf'
+LOG_FILENAME = '/var/log/git2irc.log'
+# extend on demand
+LOG_EMAIL_ADDRESSES = ['enrico at geany.org']
# global and cuts across concerns, assumed to be properly initialized later
logger = None # see init_logging()
@@ -110,7 +112,7 @@ def init_logging():
mail_handler = logging.handlers.SMTPHandler(
u'localhost',
u'git-noreply at geany.org',
- [u'enrico.troeger at uvena.de'],
+ LOG_EMAIL_ADDRESSES,
u'Error on git_post_commit')
mail_handler.setLevel(logging.WARNING)
logger.addHandler(mail_handler)
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list