Skip to content

Instantly share code, notes, and snippets.

@ryanschwartz
Created December 18, 2008 21:23
Show Gist options
  • Save ryanschwartz/37666 to your computer and use it in GitHub Desktop.
Save ryanschwartz/37666 to your computer and use it in GitHub Desktop.
--- lib/god/cli/run.rb.orig 2008-12-18 21:20:23.000000000 +0000
+++ lib/god/cli/run.rb 2008-12-18 21:22:18.000000000 +0000
@@ -73,6 +73,11 @@
BleakHouseDiagnostic.install
end
+ # respect --no-syslog even if we're running in front, which is a requirement for launchd on Mac OS X
+ unless @options[:syslog]
+ Logger.syslog = false
+ end
+
default_run
log_file = God.log_file
@@ -174,4 +179,4 @@
end # Run
end
-end
\ No newline at end of file
+end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment