If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.

Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Contributor
henryh0gg
Posts: 8
Registered: ‎03-10-2014
My Device: n/a
My Carrier: n/a
Accepted Solution

Are logs world readable?

Can my application read another application's log files like you used to be able to in Android?

Please use plain text.
Developer
simon_hain
Posts: 15,902
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: Are logs world readable?

that depends on the implementation.
if you use the built in event logger
http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/system/EventLogger.html
all applications can read these entries.

If you implement your own logging it is up to the implementation, usually other apps cannot access it.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Developer
simon_hain
Posts: 15,902
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: Are logs world readable?

I have to clarify my statement (thanks Peter for the question):
There is no API to access the eventlogger entries, only a screen where the user can view them.
You can also access them via javaloader (a command line tool for the PC), but there is no programmatic API to access them.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.