Logging

The BlackBerry® Enterprise Server writes all the BlackBerry® Administration API activity to <drive>:\Program Files\Research In Motion\BlackBerry Enterprise Server\Logs\<yyyymmdd>\. Log entries that are created by the BlackBerry Administration API can be identified by the class name, which begins with com.rim.bes.bas.baa (for example, [com.rim.bes.bas.baa.corews.CoreBean]).

The BlackBerry Enterprise Server does not log the information contained in individual responses from the web service. If you require this information, your application must generate its own response log.

You can change the properties of the log files, such as the amount of information written to the log files or the size of the log files, by logging in to the BlackBerry Administration Service and changing the logging properties of the BlackBerry Administration Service component. However, changing the logging properties affects logging for the entire BlackBerry Administration Service component, not just the BlackBerry Administration API log entries.

For more information about using the BlackBerry Enterprise Server component logs and changing the logging properties, see the BlackBerry Enterprise Server Administration Guide .

Example: Log entries created by the BlackBerry Administration API

Log entries created when findUsers() is invoked and uses invalid search criteria

[DEBUG][BAACORE-200] {u=10, uc=-1, o=0, t=2303} Enter bean CoreBean.findUsers (10/08 10:10:49:367):{http-localhost%2F127.0.0.1-443-4} [com.rim.bes.bas.baa.corews.CoreBean]

[DEBUG] [BAACORE-200] {u=10, uc=-1, o=0, t=2303} {6690184e-dc9f-466e-ae84-a13224d220fb} {findUsers} Message: '_findUsers invalid search criteria - Error details: message=validate input DTO is null, type=INVALID_VALUE, fieldConstraint=null, fieldName=null, fieldValue=null, errorStringPlugInId=-1, errorStringId=null', nested exception: 'null' (10/08 10:10:49:367):{http-localhost%2F127.0.0.1-443-4} [com.rim.bes.bas.baa.corews.CoreBean]

[DEBUG] [BAACORE-200] {u=10, uc=-1, o=0, t=2303} {6690184e-dc9f-466e-ae84-a13224d220fb} {findUsers} RMI TIME: 16302072 (10/08 10:10:49:367):{http-localhost%2F127.0.0.1-443-4} [com.rim.bes.bas.baa.corews.CoreBean]

[DEBUG] [BAACORE-200] {u=10, uc=-1, o=0, t=2303} {6690184e-dc9f-466e-ae84-a13224d220fb} {findUsers} BAA TIME: 98616 (10/08 10:10:49:367):{http-localhost%2F127.0.0.1-443-4} [com.rim.bes.bas.baa.corews.CoreBean]

[DEBUG] [BAACORE-200] {u=10, uc=-1, o=0, t=2303} {6690184e-dc9f-466e-ae84-a13224d220fb} {findUsers} API Status:IMPLEMENTED, Total Execution Time:16400688 (10/08 10:10:49:367):{http-localhost%2F127.0.0.1-443-4} [com.rim.bes.bas.baa.corews.CoreBean]

[DEBUG] [BAACORE-200] {u=10, uc=-1, o=0, t=2303} Exit bean CoreBean.findUsers

Previous topic: Localizing applications

Was this information helpful? Send us your comments.