# Receiving Events from the Event Server

This topic describes how to enable or disable logging of all events and alarms **without restarting the RMF Alarm Service**. This feature is useful when the RMF Alarm Service seems to be running, but no alarms are received in the Smart Client. In such cases, it's crucial to determine whether the service is receiving events from the Milestone Event Server.

Although restarting the RMF Alarm Service typically re-establishes the connection and restores alarm reception, it also resets the service state, complicating the identification of the root cause of the issue. This enhanced logging feature was introduced to aid troubleshooting in such rare scenarios, capturing detailed diagnostics without necessitating a service restart.

## Turn On Deep Logging

Add the following log parameter manually to the RMFAlarmService.exe.config file located at: C:\Program Files\Milestone\MIPPlugins\RMFAlarm\RMFService (or, for OEM deployments, the corresponding directory):

```
<add key="AdvanceLog" value="1" />
```

<figure><img src="https://73860689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK95oxUATgzuZZ2VhRoDw%2Fuploads%2F2F6xNXhzxfbwH6o4Gsnc%2Fimage.png?alt=media&#x26;token=0f42d809-4c42-4ecc-84eb-b6de04953689" alt=""><figcaption></figcaption></figure>

Value =”1” - enable advanced log.
\
Value =”0” - turn off advanced log.

{% hint style="info" %}
After changing the parameter, it might take up to five minutes for the settings to take effect and for advanced logs to start generating. &#x20;
{% endhint %}

## Turn Off Deep Logging

{% hint style="danger" %}
Disable deep logging by setting the AdvanceLog parameter to ‘0’ after capturing the logs to prevent logging overhead on the service.
{% endhint %}
