Red Hat Bugzilla – Bug 1020760
[notifier] sent notification should be visible in INFO log level
Last modified: 2016-02-10 14:14:03 EST
Description of problem:
If I don't have DEBUG in /etc/ovirt-engine/notifier/log4j.xml I cannot see what notifications notifier has sent.
Please make basic info in INFO log level. It's not important to see whole mail body but subject and to whom would be enough.
FYI, INFO is default log level. Thus one could be surprise that nothing is logged. I believe INFO is about actual actions of a component and thus in this context it should be seen what notifier is notifying about.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. vm migration triggers an event, a user has mail
2. migrate vm
3. check notifier.log
real sending of events is not logged in INFO level
INFO = info about its main purpose functionality, thus in INFO I should see lines that something is sent soemewhere
fyi it is in debug
2013-10-18 10:56:45,027 DEBUG [org.ovirt.engine.core.notifier.utils.sender.mail.EventSenderMailImpl] Send email to [email@example.com]
[Alert Notification. (jb-rh33.rhev.lab.eng.brq.redhat.com), [Migration started (VM: jb-w8-x86, Source: dell-r210ii-13, Destination: dell-r210ii-03, User: admin@internal).]]
Message:Migration started (VM: jb-w8-x86, Source: dell-r210ii-13, Destination: dell-r210ii-03, User: admin@internal).
User Name: admin@internal
VM Name: jb-w8-x86
Host Name: dell-r210ii-13
Template Name: Blank
Data Center Name: Default
patch proposed upstream.
log.info recipient and subject.
log.debug message body.
ovirt 3.4.0 alpha has been released
2014-01-27 09:58:05,603 INFO [org.ovirt.engine.core.notifier.utils.sender.mail.EventSenderMailImpl] Send email to [firstname.lastname@example.org]
[Issue Solved Notification. (jb-rh34.rhev.lab.eng.brq.redhat.com), [Host dell-r210ii-13 was activated by admin@internal.]]
Closing as part of 3.4.0