You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/09/10 11:35:28 UTC

[jira] [Commented] (CLOUDSTACK-7528) When AlertManager fails to sendAlert it does not log the actual issue/error

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-7528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128267#comment-14128267 ] 

ASF subversion and git services commented on CLOUDSTACK-7528:
-------------------------------------------------------------

Commit 885c02dbd8b40d654f4a84fca8474ff88bc7ca5e in cloudstack's branch refs/heads/4.3 from [~rohit.yadav@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=885c02d ]

CLOUDSTACK-7528: More verbose logging when sending alert fails

When sendAlert is called on an AlertManager impl, if it fails it logs that
something was wrong but does not log the body of the issue/error. This means
we tell the user/admin that there was an issue but don't share the "issue"
with them at all as the email alert fail (or that they were not initialized).

Signed-off-by: Rohit Yadav <ro...@shapeblue.com>


> When AlertManager fails to sendAlert it does not log the actual issue/error
> ---------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7528
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7528
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.2.0, 4.2.1, 4.3.0, 4.4.0, 4.5.0, 4.3.1, 4.4.1
>            Reporter: Rohit Yadav
>            Assignee: Rohit Yadav
>            Priority: Critical
>             Fix For: 4.5.0, 4.3.1, 4.4.1
>
>
> AlertManager has a sendAlert method, the impls try to send emailAlerts but if they fail they log it as warning the subject/error but don't log the actual error. This message in logs is useless for users/admins as we tell them that there is an issue but don't share with them at all.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)