Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(289)

Issue 11139044: Admin traceback emails (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by ana.balica
Modified:
10 years, 10 months ago
Reviewers:
thomas.j.waldmann, waldi
Visibility:
Public.

Description

Create the ability for admins to receive emails when an exception happens, by getting provided with admin emails. Make a custom logging handler that wraps around the moin function sendmail(). The commits: https://bitbucket.org/ana-balica/moin-2.0/commits/2e7e81a3133fd63674f1a39122f85f4051d197e4 and https://bitbucket.org/ana-balica/moin-2.0/commits/9ea845c1c826f9613b10a3964d044c57e3befda6

Patch Set 1 #

Total comments: 3

Patch Set 2 : Get log level #

Total comments: 1

Patch Set 3 : Get message log level #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -32 lines) Patch
M MoinMoin/log.py View 1 2 2 chunks +1 line, -32 lines 1 comment Download

Messages

Total messages: 6
Thomas.J.Waldmann
https://codereview.appspot.com/11139044/diff/1/MoinMoin/log.py File MoinMoin/log.py (right): https://codereview.appspot.com/11139044/diff/1/MoinMoin/log.py#newcode208 MoinMoin/log.py:208: subject = self.subject if self.subject else '[{0}] Traceback reported'.format(cfg.sitename) ...
10 years, 10 months ago (2013-07-12 23:13:09 UTC) #1
ana.balica
https://codereview.appspot.com/11139044/diff/1/MoinMoin/log.py File MoinMoin/log.py (right): https://codereview.appspot.com/11139044/diff/1/MoinMoin/log.py#newcode208 MoinMoin/log.py:208: subject = self.subject if self.subject else '[{0}] Traceback reported'.format(cfg.sitename) ...
10 years, 10 months ago (2013-07-13 20:45:45 UTC) #2
Thomas.J.Waldmann
https://codereview.appspot.com/11139044/diff/1/MoinMoin/log.py File MoinMoin/log.py (right): https://codereview.appspot.com/11139044/diff/1/MoinMoin/log.py#newcode208 MoinMoin/log.py:208: subject = self.subject if self.subject else '[{0}] Traceback reported'.format(cfg.sitename) ...
10 years, 10 months ago (2013-07-13 22:28:48 UTC) #3
Thomas.J.Waldmann
https://codereview.appspot.com/11139044/diff/7001/MoinMoin/log.py File MoinMoin/log.py (right): https://codereview.appspot.com/11139044/diff/7001/MoinMoin/log.py#newcode209 MoinMoin/log.py:209: return cp.get(section_name, 'level') ehrm, is there no easier way ...
10 years, 10 months ago (2013-07-14 10:25:05 UTC) #4
Thomas.J.Waldmann
https://codereview.appspot.com/11139044/diff/11001/MoinMoin/log.py File MoinMoin/log.py (right): https://codereview.appspot.com/11139044/diff/11001/MoinMoin/log.py#newcode208 MoinMoin/log.py:208: log_level = logging.getLevelName(self.level) looks better now :D
10 years, 10 months ago (2013-07-16 16:21:01 UTC) #5
ana.balica
10 years, 10 months ago (2013-07-16 19:09:27 UTC) #6
The patch is commited and pushed.
I am closing this issue to not "pollute" the cr environment.

If any other suggestions will appear, we can comment directly on bitbucket.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b