How to Enable Event Viewer Logs in BDRSuite

How to Enable Event Viewer Logs in BDRSuite

KB ID: 115061
Purpose:
This knowledge base article provides steps to enable Event Viewer logs in the BDRSuite suite of products, including Vembu BDR, Vembu OffsiteDR, and proxy agents such as Vembu VMBackup, Vembu ImageBackup, Vembu NetworkBackup, and Vembu OnlineBackup.
Solution:
By default, the Event Logger option is disabled in the BDRSuite suite and can be enabled by editing the configuration file: `SGConfiguration.conf`, located in the `<Installation_Location>/Conf` folder.
Note:
  1. Event Log option is available for the Windows platform only.
  2. Applies to BDRSuite v3.9.0 and later.
Steps to Enable Event Logs:
1. Navigate to the following folder location: `<vembu_product_installation_location>/conf` and locate the `SGConfiguration.conf` file.
2. Open the `SGConfiguration.conf` file using a text editor.
3. Find the `<Event>` tag in the configuration file. The structure looks like this:
   <Event IsEnabled="0" MaxCount="1000" PruneBy="3">
       <EventType Status="CRITICAL_EVENT" IsEnabled="0">
       <EventType Status="MAJOR_EVENT" IsEnabled="0">
       <EventType Status="WARNING" IsEnabled="0">
       <EventType Status="INFORMATION" IsEnabled="0">
   </Event>
4. Enable Event Logger by changing the `IsEnabled` value to "1" from "0". The updated `<Event>` tag should look like this:
   <Event IsEnabled="1" MaxCount="1000" PruneBy="3">
       <EventType Status="CRITICAL_EVENT" IsEnabled="1">
       <EventType Status="MAJOR_EVENT" IsEnabled="1">
       <EventType Status="WARNING" IsEnabled="1">
       <EventType Status="INFORMATION" IsEnabled="1">
   </Event>
Tags under the Event Logger option explained:
  1. The `MaxCount` tag refers to the event count that can be viewed in Event Viewer.
  2. The `PruneBy` tag refers to the timespan of events to be logged where:
  1. 1 refers to a day
  2. 2 refers to a week
  3. 3 refers to a month
Users can also choose the event type to be logged based on its severity using the `EventType Status` tag, where it is further classified into:
  1. CRITICAL_EVENT
  2. MAJOR_EVENT
  3. WARNING
  4. - INFORMATION
These event types can be enabled by changing the `IsEnabled` value to "1" from "0" alongside the respective value.