Application:Lumberjack

From WebOS Internals
Revision as of 09:39, 17 October 2010 by JenP (talk | contribs)
Jump to navigation Jump to search
« Go Back to the Utilities application list
Lumberjack ss1.png

Lumberjack - 0.1.1 Beta


Summary

Icon WebOSInternals Lumberjack.png

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.

Main screen.png

How is retrieve different from follow?

  • The app is always logging, retrieve get the entire log since it was last cleared. and follow is just from then on appearing in real-time.
  • Retrieve is just a static once look. unless you the refresh button.

What is DBus Capture?

  • The DBus Capture button is to follow service request 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?

  • Mojo.log events to document and debug their apps
  • can also use the javascript alert() function

What's the difference between cleaned and raw log scene formats?

  • Raw log, copies the exact row from the messages file
  • Cleaned log is formatted



Lumberjack logView.png


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.



Preferences screen.png