Below, a modified version of the EnableLogging.command that's within
Growl-EnableDisableLogging.zip
This version of the script places Growl.log within a directory
~/Library/Logs/Growl
(Archived versions of the .log can be filed alongside Growl.log
without cluttering things at the
~/Library/Logs
level.)
#!/bin/zsh -f
function growl_setdefault { defaults write com.growl.growlhelperapp
$* }
growl_setdefault 'Custom log history 1' "$HOME/Library/Logs/Growl/
Growl.log"
growl_setdefault 'GrowlLogType' -int 1
growl_setdefault 'GrowlLoggingEnabled' -bool YES
if [[ ! -e "$HOME/Library/Logs/Growl" ]]
then
mkdir ~/Library/Logs/Growl
fi
open ~/Library/Logs/Growl
echo ""
echo "To begin logging according to these preferences, please restart
Growl."
echo ""
--
You received this message because you are subscribed to the Google Groups
"Growl Discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/growldiscuss?hl=en.