Difference between revisions of "Application:Lumberjack"
(→FAQ) |
|||
Line 28: | Line 28: | ||
How do you write to logs? | How do you write to logs? | ||
− | :* Mojo.log events to document and debug their apps | + | :* Mojo.log events to document and debug their apps. For more information on this technique see the following link. [http://developer.palm.com/index.php?option=com_content&view=article&id=1864&Itemid=253 Mojo.Log] |
:* can also use the javascript alert() function | :* can also use the javascript alert() function | ||
Revision as of 09:51, 17 October 2010
Lumberjack - 0.1.1 Beta
Summary
Lumberjack is an on-device logging tool. It allows you to view and follow the logs for specific applications from the /var/log/messages file.
Its goal is to make debugging apps without a workstation better and easier.
FAQ
How is the "Retrieve Log" different from the "Follow Log"? Applications are always logging, the Retrieve Log button gets the entire log since it was last cleared. Where as the Follow Log displays the log in real-time.
What is DBus Capture? The DBus Capture button is to follow service requests in real time. It will show which applications are sending out requests and what the service returns. For example an application will request GPS services, the log will show this request and how the service responds to the request. How do you write to logs?
What's the difference between cleaned and raw log scene formats?
|
By default the device is at mojo.log.error level. so lumberjack changes LunaSysMgrJS to debug from error when it starts. then back to error when it closes.