How to mark Audit messages as Informational in the BlackBerry Messaging Agent logs

Article ID: KB36069

Type: Support Content

Last Modified: 06-24-2014

 

Product(s) Affected:

  • BlackBerry Enterprise Server
Jump to: Environment | Overview
CollapseEnvironment
  • Blackberry Enterprise Server v5.0 SP2 to v5.0 SP4
CollapseOverview

Since Audit level logs are by default listed in the 5000 range they will be viewed as a match for all the available SMTP filters and be sent to the address specified. This may be undesirable to some administrators.

When reviewing the Blackberry Enterprise Server Messaging Agent logs, an administrator will find Audit entries log in the 5000 level range. An example of this is:

50102 - [AUDIT] John Doe - User activated on the BES

Administrator may choose to enable the BlackBerry Alert Service to send email notifications to a particular SMTP address and specify a minimum log level such as Error or Critical.
Regardless of the level selected, Audit level items will also be directed to this SMTP address.

Implement the LogAuditAsInformational registry key by performing the following:

  1. On the BlackBerry Enterprise Server where the BlackBerry Dispatcher Service resides open the registry Editor.
  2. Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\BlackBerry Enterprise Server\Agents
  3. Create a DWORD value called LogAuditAsInformational.
  4. Set the value to 1.
  5. Click OK.
  6. Restart the BlackBerry Controller Service.
    Important: Restarting the BlackBerry Enterprise Server or its services may delay message delivery to BlackBerry smartphones.

Note: As a result of implementing the LogAuditAsInformational registry key, Audit level log lines in the Messaging Agent log will now appear as:

30363 - [AUDIT] John Doe - User activated on the BES

When this key is enabled the following log line should also be present in the Messaging Agent log:

[AUDIT] messages will be logged at Informational level

Note: The value is now in the 3000 range rather than the 5000 level range.

Disclaimer

By downloading, accessing or otherwise using the Knowledge Base documents you agree:

   (a) that the terms of use for the documents found at www.blackberry.com/legal/knowledgebase apply to your use or reference to these documents; and

   (b) not to copy, distribute, disclose or reproduce, in full or in part any of the documents without the express written consent of RIM.


Visit the BlackBerry Technical Solution Center at www.blackberry.com/btsc.