Logging inside BlackBerry Java Apps isn't really fun, because you can't rely on common Logging Frameworks like SLF4J, Log4J etc.
Also the built-in event messages are not really helpful and difficult to read (you get them by alt-l alt-g alt-l alt-g from Home screen)
Logging using sysout while debugging isn't really state-of-the-art ;-)
So I implemented a Logging Framework where you can persist Logging Messages to PersistentStore, SQLite or thru TCP Socket Connection where LogEvents are sent to Lilith Logging Monitor in (SLF4J) - LogBack format.
This movie demonstrates the use of the TCP Socket Logging to Lilith.
More info from ekkescorner.wordpress.com/blog-series/blackberrydev/ or ekkes-apps.org/.
Lilith can be downloaded at sourceforge.net/projects/lilith/ - my Logging Framework will be available in some weeks.