Permalink
Browse files

Don't display so much Nginx output in Phusion Passenger Standalone if…

… debugging is turned off.
  • Loading branch information...
1 parent f31e500 commit 538c2e5af2e43fe8035dd3dcf1d60a004d5cadc1 @FooBarWidget FooBarWidget committed Jul 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/phusion_passenger/templates/standalone/config.erb
@@ -27,7 +27,7 @@
master_process on;
worker_processes 1;
daemon on;
-error_log '<%= @options[:log_file] %>' info;
+error_log '<%= @options[:log_file] %>' <% if debugging? %>info<% end %>;
pid '<%= @options[:pid_file] %>';
<% if @options[:user] %>user <%= @options[:user] %> <%= default_group_for(@options[:user]) %>;<% end %>

0 comments on commit 538c2e5

Please sign in to comment.