@vendevu
Unfortunately the classes present inside the "org.apache.ambari.server.state.alert" package does not contain DEBUG messages hence you can not see those debugs. But you can get the Alert Notification related DEBUGs.
As you have referred to other Community threads where you see the "Notification" related DEBUG messages like following:
DEBUG [alert-dispatch-5] EmailDispatcher:142 - Successfully dispatched email to [@.com], so it seems like Ambari is sending email but it is struck somewhere.
So if you want to see "Alert Notification" (like Email Notification/ SMTP notification) related DEBUGs inside your "ambari-server.log" then please try this:
Can you please try this:
1). Edit the "/etc/ambari-server/conf/log4j.properties" file and then Add the following line somewhere at the end of this file.
log4j.logger.org.apache.ambari.server.notifications=DEBUG
2). Restart Amabri Server
# ambari-server restart
3). Tail the ambari-server.log file.
# tail -f /var/log/ambari-server/ambari-server.log
4). As soon as some new alert notification (Like SMTP Alert Notification OR SNMP Alert Notification) will be triggered we should see some logging in the above log file.
.
.