webOS Nation Forums >  Homebrew >  WebOS Internals > Lumberjack
Lumberjack

  Reply
 
LinkBack Thread Tools Display Modes
Old 08/18/2010, 10:42 PM   #1 (permalink)
oil
Member
 
oil's Avatar
 
Join Date: Jun 2009
Location: Yakima, WA
Posts: 862
Likes Received: 7
Thanks: 26
Thanked 1,317 Times in 203 Posts
Default Lumberjack




Lumberjack:
Lumberjack is an on-device logging tool. It turns up the log level, and allows you to view and follow the logs for specific applications from the /var/log/messages file.

For a complete change log, up-to-date instructions, and all other information pertaining to Lumberjack, Please visit the webos-internals wiki page for it: Application:Lumberjack - WebOS Internals. Feel free to contribute to the wiki page as well.


Installation:
It can be found in the webos-internals feeds, and installed with preware, quick install, palm-install, etc.


Licensing Conditions:
Lumberjack is licensed under the GPLv2.

Last edited by oil; 11/11/2010 at 08:21 PM.
oil is offline   Reply With Quote
Old 08/19/2010, 01:16 AM   #2 (permalink)
Member
 
Zen00's Avatar
 
Join Date: Jan 2010
Posts: 507
Likes Received: 4
Thanks: 32
Thanked 76 Times in 56 Posts
Default

Interesting tool. I hope that developers are paying attention as this will be very helpful in the debugging process.
Zen00 is offline   Reply With Quote
Old 08/19/2010, 02:20 AM   #3 (permalink)
oil
Member
 
oil's Avatar
 
Join Date: Jun 2009
Location: Yakima, WA
Posts: 862
Likes Received: 7
Thanks: 26
Thanked 1,317 Times in 203 Posts
Default

Quote:
Originally Posted by Zen00 View Post
Interesting tool. I hope that developers are paying attention as this will be very helpful in the debugging process.
We also hope users/testers will use it to submit better bug reports.
oil is offline   Reply With Quote
Old 08/19/2010, 04:49 PM   #4 (permalink)
Member
 
Join Date: Oct 2007
Location: Fargo, ND
Posts: 194
Likes Received: 2
Thanks: 36
Thanked 39 Times in 27 Posts
Default

While I haven't installed this yet, it looks great. Are there any plans to implement alerts on certain logs via a dashboard notification?
dsei is offline   Reply With Quote
Old 08/19/2010, 04:50 PM   #5 (permalink)
Member
 
Atomic Playboy's Avatar
 
Join Date: Jul 2009
Location: Chicago, IL
Posts: 26
Likes Received: 0
Thanks: 8
Thanked 2 Times in 2 Posts
Default

Is it okay?




No but seriously, this is cool, I'll give it a try.
Atomic Playboy is offline   Reply With Quote
Old 08/19/2010, 04:58 PM   #6 (permalink)
Member
 
MudShark22's Avatar
 
Join Date: Apr 2010
Location: New York
Posts: 648
Likes Received: 33
Thanks: 125
Thanked 300 Times in 227 Posts
Default

Quote:
Originally Posted by Atomic Playboy View Post
Is it okay?
It sleeps all night and works all day.
MudShark22 is offline   Reply With Quote
Old 08/19/2010, 05:03 PM   #7 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Quote:
Originally Posted by dsei View Post
While I haven't installed this yet, it looks great. Are there any plans to implement alerts on certain logs via a dashboard notification?
That feature is already in place.

-- Rod
__________________
WebOS Internals and Preware Founder and Developer
You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
All donations go back into development.
www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
rwhitby is offline   Reply With Quote
Thanked By: dsei
Old 08/19/2010, 05:05 PM   #8 (permalink)
Member
 
Join Date: Jul 2010
Posts: 282
Likes Received: 84
Thanks: 26
Thanked 187 Times in 40 Posts
Default

Lumberjack is all sorts of awesome.
codecrumb is offline   Reply With Quote
Old 08/19/2010, 05:29 PM   #9 (permalink)
Member
 
Blubble's Avatar
 
Join Date: Jun 2009
Location: Silicon Valley, California
Posts: 1,025
Likes Received: 0
Thanks: 37
Thanked 444 Times in 161 Posts
Default

Sweet! Thanks so much for this Oil. Palm should have had something like this on phone from day one.

Just sent you guys another donation for this. Good work!
__________________
.

NaNplayer Preview Videos
: http://www.youtube.com/BlubbleApps
NaNplayer Preview Screenshots: http://www.flickr.com/nanapps/
Twitter: http://twitter.com/NaNplayer
Facebook: http://www.facebook.com/pages/NaNplayer/408576839837

Last edited by Blubble; 08/19/2010 at 05:37 PM.
Blubble is offline   Reply With Quote
Old 08/19/2010, 06:27 PM   #10 (permalink)
Member
 
oakridge outdoors's Avatar
 
Join Date: Dec 2009
Location: Wisconsin
Posts: 1,156
Likes Received: 3
Thanks: 261
Thanked 177 Times in 157 Posts
Default

A must have tool for every developer!
__________________

For more information on Sconix's (@therealsconix/@modeswitcher) webOS collective work... visit here.

"Those convinced against their will are of the same opinion still." - Dale Carnegie
oakridge outdoors is offline   Reply With Quote
Old 08/19/2010, 06:33 PM   #11 (permalink)
Member
 
Join Date: Oct 2007
Location: Fargo, ND
Posts: 194
Likes Received: 2
Thanks: 36
Thanked 39 Times in 27 Posts
Default

Quote:
Originally Posted by rwhitby View Post
That feature is already in place.

-- Rod
Great, thanks! Guess I should have played with it before commenting.

Depending on what can be logged, I can see this being used as a security tool. I'd certainly like to know if certain applications are trying to access my personal information.
dsei is offline   Reply With Quote
Old 08/19/2010, 10:49 PM   #12 (permalink)
Member
 
Join Date: Jun 2009
Posts: 107
Likes Received: 1
Thanks: 28
Thanked 50 Times in 22 Posts
Default

Thanks, this is great.

Also, I am amused at the name; if only because I always call my logging methods/classes "lumberjack".
webfellow is offline   Reply With Quote
Thanked By: mastercko
Old 08/20/2010, 02:42 PM   #13 (permalink)
Member
 
Join Date: Aug 2009
Posts: 48
Likes Received: 0
Thanks: 2
Thanked 3 Times in 3 Posts
Default

awesome!

how about adding:
* Timestamps.
* regex inclide/exclude filters?
Dolio is offline   Reply With Quote
Old 08/25/2010, 04:57 PM   #14 (permalink)
oil
Member
 
oil's Avatar
 
Join Date: Jun 2009
Location: Yakima, WA
Posts: 862
Likes Received: 7
Thanks: 26
Thanked 1,317 Times in 203 Posts
Default



oil is offline   Reply With Quote
Old 08/27/2010, 11:18 AM   #15 (permalink)
Member
 
Join Date: Aug 2009
Posts: 48
Likes Received: 0
Thanks: 2
Thanked 3 Times in 3 Posts
Default

Very nice!!
Dolio is offline   Reply With Quote
Old 08/29/2010, 09:37 AM   #16 (permalink)
Member
 
Xanadu73's Avatar
 
Join Date: Nov 2009
Location: Hour West of Philly, USA
Posts: 1,571
Likes Received: 4
Thanks: 3
Thanked 215 Times in 161 Posts
Default

Hey!

I see this over and over:

(LunaSysMgr) user.crit: void CpuShareManager::writeEntry(const char*, int): Failed to open cpu share file: /dev/cgroup/game/cpu.shares

Is this really critical? It seems like the kernel (F105) doesn't support something (Control Group Support?).


M.
Xanadu73 is offline   Reply With Quote
Old 08/29/2010, 03:58 PM   #17 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Quote:
Originally Posted by Xanadu73 View Post
Hey!

I see this over and over:

(LunaSysMgr) user.crit: void CpuShareManager::writeEntry(const char*, int): Failed to open cpu share file: /dev/cgroup/game/cpu.shares

Is this really critical? It seems like the kernel (F105) doesn't support something (Control Group Support?).


M.
It's a webOS bug, unrelated to custom kernels.

-- Rod
rwhitby is offline   Reply With Quote
Old 08/29/2010, 04:36 PM   #18 (permalink)
Member
 
Xanadu73's Avatar
 
Join Date: Nov 2009
Location: Hour West of Philly, USA
Posts: 1,571
Likes Received: 4
Thanks: 3
Thanked 215 Times in 161 Posts
Default

The Linux kernel support "splitting up" CPU clock ticks depending on group membership (Control Groups). Check "General Setup" in makeconfig.


M.
Xanadu73 is offline   Reply With Quote
Old 08/29/2010, 04:42 PM   #19 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Quote:
Originally Posted by Xanadu73 View Post
The Linux kernel support "splitting up" CPU clock ticks depending on group membership (Control Groups). Check "General Setup" in makeconfig.


M.
Yes, and webOS has a bug which omits creating this directory until the first PDK game is run, yet checking for it constantly before then.

-- Rod
rwhitby is offline   Reply With Quote
Old 08/29/2010, 05:13 PM   #20 (permalink)
Member
 
Xanadu73's Avatar
 
Join Date: Nov 2009
Location: Hour West of Philly, USA
Posts: 1,571
Likes Received: 4
Thanks: 3
Thanked 215 Times in 161 Posts
Default

Quote:
Originally Posted by rwhitby View Post
Yes, and webOS has a bug which omits creating this directory until the first PDK game is run, yet checking for it constantly before then.

-- Rod

Ah. I'm with ya now. Thanks, Rod.


M.
Xanadu73 is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0