0
Answered

How Do I configure Identity Broker

Nigel Jones 7 years ago • updated by anonymous 4 years ago 1

I am trying to configure IB to log different severity to different logs.

I have configured

<?xml version="1.0" encoding="utf-8" ?>
<LogWriter name="LogWriterFilterDecorator">
<logFilter name="Severity" severity="Error" />
<LogWriter name="CustomEventLog" customEventLog="IdentityBroker" />
<logFilter name="Severity" severity="All" />
<LogWriter name="CSV" prefix="IdentityBroker" directory="L:\Logs\Identity Broker" days="7" />
</LogWriter>

Is this config correct ?

What else do I need to do to see an Windows Event Log of "IdentiyBroker" ?

Do I need to and how can you explain how to configure .Net config to EventLogPermissionAccess.Write ?

TIA

Affected Versions:
Fixed by Version:

Hey Nigel,

You'll need to put the log writers inside a composite logger so that Identity Broker can recognize both - see IDB306:Asynchronous Composite Logger configuration. The severity filter needs to be put around the custom logger so that the filter applies to the log. It should be something like:

<LogWriter name="AsyncLogWriterComposite">
  <LogWriter name="LogWriterFilterDecorator">
     <logFilter name="Severity" severity="Error" />
     <LogWriter name="CustomEventLog" customEventLog="IdentityBroker" />
  </LogWriter>
  <LogWriter name="CSV" prefix="IdentityBroker" directory="L:\Logs\Identity Broker" days="7" />
</LogWriter>

With regards to permissions, see http://support.microsoft.com/kb/323076 - all it means is you need to use an account which is able to write to the Event log.