--- growl.module	2009-01-08 12:25:44.000000000 -0500
+++ ../growl2/growl.module	2009-01-19 04:02:26.000000000 -0500
@@ -15,7 +15,7 @@ function growl_help($path, $arg) {
 
 
 function growl($message, $extra_params = array()) {
-  $command = 'growlnotify';
+  $command = '/usr/local/bin/growlnotify';
   if (!empty($message)) {
     $command .= ' -m ' . escapeshellarg($message);
   }
@@ -39,7 +39,7 @@ function growl_menu() {
 }
 
 function growl_admin_settings() {
-  exec('growlnotify -v', $results);
+  exec('/usr/local/bin/growlnotify -v', $results);
   if (empty($results)) {
     $form['warning'] = array(
       '#type' => 'markup',
@@ -78,8 +78,21 @@ function growl_admin_settings() {
 function growl_watchdog($entry) {
   $severity = variable_get('growl_severity', WATCHDOG_ALERT);
   $message = strip_tags(is_null($entry['variables']) ? $entry['message'] : strtr($entry['message'], $entry['variables']));
-
+  // Add in color coding for the different severities that can show up in the iPhonesque growl theme at http://macthemes2.net/forum/viewtopic.php?id=16783761
   if ($entry['severity'] <= $severity) {
-    growl($message, array('t' => variable_get('site_name', 'Drupal') . ': ' . $entry['type']));
+    if ($entry['severity'] == 3) {
+      // color code errors as red
+      $priority = 1;
+    }
+    elseif($entry['severity'] == 4) {
+      // color warnings as blue
+      $priority = 0;
+    }
+    else {
+      // color everything else as gray
+      $priority = -2;
+    }
+    // the -t option is the Title, the -a option determines which application icon to use, and -p is the priority color coding
+    growl($message, array('t' => variable_get('site_name', 'Drupal') . ': ' . $entry['type'], 'a' => 'firefox', 'p' => $priority));
   }
 }
