Skip to content
This repository was archived by the owner on Jan 21, 2021. It is now read-only.

Setup error notification via smtp appender#91

Open
koros wants to merge 2 commits intomasterfrom
setup_error_notification_via_smtp_appender
Open

Setup error notification via smtp appender#91
koros wants to merge 2 commits intomasterfrom
setup_error_notification_via_smtp_appender

Conversation

@koros
Copy link

@koros koros commented Sep 28, 2015

Completed setting up error notification via mail
We are currently forwarding all the mails to opensrp@gmail.com account, which we can configure it to relay the notification to all openers developers, i'll share the password for the account on hip chat.

Changes:

pom.xml => added mail dependency
assets/config/log4j.xml => added smtp configs

The other changes are trivial e.g just adding logging statement on the catch block so that the error can be sent

NB: all developers should now use logger.error() whenever an error occurs in order to send out the mail notification.

@ndisha
Copy link

ndisha commented Oct 5, 2015

@maimoonak @ahmedihs could you review this and merge if it OK?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants