0
Answered
Can Identity Broker be configured to send e-mail log notifications?
Can Identity Broker be configured to send e-mail log notifications of errors?
Customer support service by UserEcho
Absolutely it can be configure to send e-mails of errors.
Composite loggers, combined with filter loggers, can be used to send e-mails of warnings or errors.
For example:
<LogWriter name="AsyncLogWriterComposite"> <LogWriter name="CSV" prefix="IdentityBroker" directory="L:\Logs\Identity Broker" /> <LogWriter name="LogWriterFilterDecorator"> <logFilter name="Severity" severity="Error,Warning" /> <LogWriter name="Email" fromAddress="fake@tempuri.org" replyToAddress="fake@tempuri.org" senderAddress="fake@tempuri.org" smtpHost="mail.tempuri.org" subjectPrefix="Identity Broker log" toAddress="idmadmin@tempuri.org" /> </LogWriter> </LogWriter>Will use the CSV log file for everything, but send errors and warnings to idmadmin@tempuri.org.
For reference IDB306:Logging Engine configuration, IDB306:CSV File Log configuration, IDB306:Asynchronous Composite Logger configuration and IDB306:E-mail Logging configuration.
Thank you for your help Shane Day. Very much appreciated.
The following was applied at Tatts Group Dev/UAT env as a test and work perfectly.
<?xml version="1.0" encoding="utf-8" ?> <LogWriter name="AsyncLogWriterComposite"> <LogWriter name="CSV" prefix="UnifyLog" directory="C:\Program Files\UNIFY Solutions\Logs"/> <LogWriter name="LogWriterFilterDecorator"> <logFilter name="Severity" severity="Error,Warning" /> <LogWriter name="Email" fromAddress="Anthony.Miller@tattsgroup.com" replyToAddress="Anthony.Miller@tattsgroup.com" senderAddress="Anthony.Miller@tattsgroup.com" smtpHost="vsempprdmsg01.tattsgroup.com" subjectPrefix="Identity Broker log" toAddress="Anthony.Miller@tattsgroup.com" /> </LogWriter> </LogWriter>Configuration applied and email notification send correctly when error occurred in the Identity Broker.