Enable Growl Log and Show It In GeekTool

Growl is a great system-wide notification system for Mac OS X. Because of its open architecture it is highly customizable and tons of apps come with support for it. My only complaint is that notifications can be fleeting - one second it's there and it's gone the next.

Logging support was removed some time ago for general users, but is still available as an advanced feature. Here's how to enable it and get a running log on your desktop of Growl notifications using GeekTool.

1. Enable Growl logging

touch ~/Library/Logs/Growl.log
defaults write com.Growl.GrowlHelperApp GrowlLoggingEnabled -bool YES
defaults write com.Growl.GrowlHelperApp GrowlLogType 1
defaults write com.Growl.GrowlHelperApp "Custom log history 1" /Users/kent/Library/Logs/Growl.log

2. Add the log file to GeekTool and customize it as desired. If you don't have GeekTool you can get it here.

GeekTool.png

That's it - you're done!

Your rating: None Average: 1 (1 vote)

Comments

cool, can't seem to get the

cool, can't seem to get the script to work though, the log file stays empty, will this work with any version of growl? i read something about only updated but originally older versions of growl had the logging still enabled.

It took me some tinkering to

It took me some tinkering to get it working, but the steps outlines above are what ultimately worked for me. I am using the latest version and can only assume it would work with older versions.

You can use an app called "pref setter" to verify that your preferences were set properly or to change them.

I wrote a new Log plugin

I wrote a new Log plugin that works with 1.1.6 (and apparently current builds of 1.2), and exports as XML to boot.

I had a look at the GrowlLog

I had a look at the GrowlLog plugin but I am uncertain how it works. Can someone enlighten me? I tried i with 1.2 but didn't see any changes or any way to access/configure it...

thanks!

is it possible to get syntax

is it possible to get syntax highlighting type thing in geektool output?

Should I write these lines in Terminal to get the log to work?

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
Are you alive?
C
g
5
P
Enter the code without spaces and pay attention to upper/lower case.
Syndicate content