Permalink
Browse files

Increase Passenger Standalone's Nginx log level.

  • Loading branch information...
1 parent 7b92b36 commit f4f9195ed09eb6a7586e9b9174a7dc10da60c61f @FooBarWidget FooBarWidget committed May 6, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −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] %>';
+error_log '<%= @options[:log_file] %>' info;
pid '<%= @options[:pid_file] %>';
<% if @options[:user] %>user <%= @options[:user] %> <%= default_group_for(@options[:user]) %>;<% end %>
@@ -36,6 +36,7 @@ events {
}
http {
+ log_format debug '[$time_local] $msec "$request" $status conn=$connection sent=$bytes_sent body_sent=$body_bytes_sent';
include '<%= PhusionPassenger::RESOURCES_DIR %>/mime.types';
passenger_ruby <%= PlatformInfo.ruby_command %>;
passenger_root '<%= passenger_root %>';

0 comments on commit f4f9195

Please sign in to comment.