Windows Event Viewer

Build 1501 on 14/Nov/2017  This topic last edited on: 26/Aug/2014, at 12:02

Back4 activities can be logged to the Windows Event Viewer.

Server Events

To enable logging of Back4 server activities, such as Login/Logout, to the Windows Event Viewer, add the lines shown below to appsettings.xml:

<add key="Db.LogEvents" value="All" />

<add key="Db.EventViewer" value="true"/>

 

Activity Events

To enable logging of Back4 execution activities to the Windows Event Viewer, configure the Execution Profiles section in the configuration file (i.e., Back4Config or ServerConfig):

<ProfileList>

 <ProfileConfig

  Name="MyProfile"

  MaxRetries="10"

  OnSuccess="DBLog,EventLog"

  OnWarning="DBLog,EventLog"

  OnError="DBLog,EventLog" />

</ProfileList>

See Also

Execution profiles