
06-26-2009, 10:46 PM
|
 |
Proprietor
|
|
Join Date: Nov 2008
Posts: 2,238
|
|
KB02393 - How to enable HTTP logging for MDS
KB02393 - How to enable HTTP logging for the BlackBerry Mobile Data Service or the BlackBerry Mobile Data System
Environment
- BlackBerry® Enterprise Server version 2.2 - 4.1
- BlackBerry® Mobile Data Service
- BlackBerry® Mobile Data System (BlackBerry MDS)
Background
Enabling Hypertext Transfer Protocol (HTTP) logging for the BlackBerry Mobile Data Service or the BlackBerry MDS has the following benefits:
- Defines HTTP content formatting and related HTTP status codes
- Helps to troubleshoot the BlackBerry Mobile Data Service or the BlackBerry MDS
Overview
To enable HTTP logging for the BlackBerry Mobile Data Service, complete the following steps:
For BlackBerry Enterprise Server software version 4.1
- In BlackBerry Manager, select the <Server Name>_MDS-CS service.
- On the Connection Service tab, click Edit Properties.
- On the Logs tab, verify that IPPP logging enabled is set to true, set both the HTTP Logging Enabled and the Verbose HTTP Logging Enabled drop-down lists to True.
- Click Apply, and then click OK.
For BlackBerry Enterprise Server software version 4.0 for Microsoft® Exchange
- In BlackBerry Manager, right-click the BlackBerry Enterprise Server name, and then click Mobile Data Services Properties.
- On the Logs tab, verify that the IPPP check box is selected, select the HTTP Logging Enabled check box and the Verbose HTTP Logging check box.
- From the Log Level drop-down list, select the debugging level.
- In the Location field, specify a location for saving the file.
- Click Apply, and then click OK.
For BlackBerry Enterprise Server software version 4.0 for IBM® Lotus® Domino® and Novell® GroupWise®
- In BlackBerry Manager, click the BlackBerry Enterprise Server name.
- Select the Mobile Data Services tab, and then select Edit Properties.
- On the Logs tab, select the HTTP Logging Enabled check box and the Verbose HTTP Logging check box.
- From the Log Level drop-down list, select the debugging level.
- In the Location field, specify a location for saving the file.
- Click Apply, and then click OK.
For BlackBerry Enterprise Server software versions 2.2 and 3.6
- In Windows® Explorer, go to C:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDS\Servers\<BlackBerry_Enterprise_Server_name>\config
- Open the rimpublic.property file using a text editor, such as Notepad.
- At the end of the file, type the following: [HTTP HANDLER]
application.handler.http.logging=true
application.handler.http.logging.verbose=true
- Close and save the file.
- Restart the BlackBerry Mobile Data Service.
- In Windows Services, right-click BlackBerry Mobile Data Service, and then click Restart.
In BlackBerry Enterprise Server version 3.6 SP2 and later, the logs are stored in C:\Program Files\Research In Motion\BlackBerry Enterprise Server\Logs.
In all other versions, the output log is stored in C:\Program Files\Research In Motion\Blackberry Enterprise Server\MDS\Servers\Instance\<date>_debug.log.
__________________
http://blog.port3101.org/hdawg/
The views expressed by me on Port3101 and its affiliated sites are my own and do not necessarily reflect the views of my employer.
|