Enable Debug Logging on a BlackBerry Device

Article:TECH149375  |  Created: 2009-04-07  |  Updated: 2011-03-21  |  Article URL http://www.symantec.com/docs/TECH149375
Article Type
Technical Solution


Issue




This article details how to enable debug logging on a BlackBerry device. Debug logging assists you in troubleshooting and determining the "chain" of events in relation to PGP Universal Server Mail policies when using the PGP Support Package for BlackBerry.

 


Solution




Enable Debug Logging on a BlackBerry device:  

  1. On the Home screen of the BlackBerry device, press and hold ALT followed by lglg. The current logging level on the device is displayed.
  2. Press the Menu key then scroll down and select Clear Log.
  3. Press the Menu key again, scroll down and select Options.
  4. Click Min log level: and change the option to Debug Info.
  5. Scroll down to the first log entry and press the Menu key.
  6. Scroll down the list of options and click Hide all types. All checkmarks are removed for the individual logs.
  7. Scroll down and click the PGP entry in the list, then select Toggle Filter. This places a checkmark in the next to the PGP entry in the list.
  8. Press the Menu key and select Save.
  9. Send a test message.
  10. On the Home screen of the BlackBerry device, press and hold ALT followed by lglg.
  11. Press the Menu key and select Copy Day's Contents.
  12. Compose a message to yourself, press the Menu key and select Paste in the message body to include the contents of the log. Send the message.
  13. Reset the logging level to the default for the BlackBerry device.
  14. Open the message on a desktop computer to view the Debug Info log for PGP.

 

Reset Blackberry Device to the Default Logging Level  

  1. Once finished sending the message, press and hold ALT followed by lglg,click Min log level: and change the option to Warning.
  2. Scroll down to the first log entry and press the Menu key.
  3. Click Show all types. All checkmarks are added for the individual logs.
  4. Press the Menu key and select Save.

Below is a sample of a chain when a message is sent from a BlackBerry device running in debug mode. The important portion of the debug log are the entries for the Chains and Rules evaluated by the granular policy of PGP Universal Server.

"C1,R0F,R1F,R2F"

Based on these Mail Policy Chains and Rules, message processing starts out in the first policy chain on the PGP Universal Server (C1) and then the rules are evaluated within the particular chain (R0, R1, etc). The general format for the rule is Rx[T or F], where x is the rule number and "T" or "F" displays if the rule is true or false.

In the example below, the "Default" chain was evaluated along with several rules with Rule 3 finally being matched as True (T). Annotated as 'R3T'.

Example of chain:
C1,R1F,R2F,R3T,C5,R0F,R1F,R2F,R3F,R4F,R5F,R6F,R7F,R8F,R9F,R10T,C7,R1T

The basic flow started with the processing of Chain 1, when Rule 3 was true, the message then went to Chain 5, processing in that chain stopped when Rule 10 was true and forwarded processing to Chain 7 where the first rule was true.

 



Legacy ID



1328


Article URL http://www.symantec.com/docs/TECH149375


Terms of use for this information are found in Legal Notices