Browse Source

Disable some nginx logs.

Michael Hixson 12 years ago
parent
commit
1f5b573dc5

+ 2 - 0
cake/deploy/nginx.conf

@@ -1,5 +1,6 @@
 #user  nobody;
 worker_processes  8;
+error_log /dev/null crit;
 
 #error_log  logs/error.log;
 #error_log  logs/error.log  notice;
@@ -22,6 +23,7 @@ http {
     #                  '"$http_user_agent" "$http_x_forwarded_for"';
 
     #access_log  logs/access.log  main;
+	access_log off;
 
     sendfile        on;
     #tcp_nopush     on;

+ 1 - 0
dancer/nginx.conf

@@ -1,4 +1,5 @@
 user USR;
+error_log /dev/null crit;
 
 worker_processes 2;
 

+ 4 - 2
jester/config/nginx.conf

@@ -13,7 +13,8 @@ worker_processes 8;
 
 # Feel free to change all paths to suite your needs here, of course
 # pid /tmp/nginx.pid;
-error_log /tmp/nginx.error.log;
+#error_log /tmp/nginx.error.log;
+error_log /dev/null crit;
 
 events {
   worker_connections 4096; # increase if you have lots of clients
@@ -30,7 +31,8 @@ http {
   default_type application/octet-stream;
 
   # click tracking!
-  access_log /tmp/nginx.access.log combined;
+  #access_log /tmp/nginx.access.log combined;
+  access_log off;
 
   upstream nimrod {
     server localhost:9000;

+ 1 - 0
kelp/nginx.conf

@@ -1,4 +1,5 @@
 user USR;
+error_log /dev/null crit;
 
 worker_processes 2;
 

+ 1 - 0
mojolicious/nginx.conf

@@ -1,4 +1,5 @@
 user USR;
+error_log /dev/null crit;
 
 worker_processes 2;
 

+ 2 - 0
php-codeigniter/deploy/nginx.conf

@@ -4,6 +4,7 @@ worker_processes  8;
 #error_log  logs/error.log;
 #error_log  logs/error.log  notice;
 #error_log  logs/error.log  info;
+error_log /dev/null crit;
 
 #pid        logs/nginx.pid;
 
@@ -22,6 +23,7 @@ http {
     #                  '"$http_user_agent" "$http_x_forwarded_for"';
 
     #access_log  logs/access.log  main;
+    access_log off;
 
     sendfile        on;
     #tcp_nopush     on;

+ 2 - 0
php-fuel/deploy/nginx.conf

@@ -4,6 +4,7 @@ worker_processes  8;
 #error_log  logs/error.log;
 #error_log  logs/error.log  notice;
 #error_log  logs/error.log  info;
+error_log /dev/null crit;
 
 #pid        logs/nginx.pid;
 
@@ -22,6 +23,7 @@ http {
     #                  '"$http_user_agent" "$http_x_forwarded_for"';
 
     #access_log  logs/access.log  main;
+    access_log off;
 
     sendfile        on;
     #tcp_nopush     on;

+ 2 - 0
php-kohana/deploy/nginx.conf

@@ -4,6 +4,7 @@ worker_processes  8;
 #error_log  logs/error.log;
 #error_log  logs/error.log  notice;
 #error_log  logs/error.log  info;
+error_log /dev/null crit;
 
 #pid        logs/nginx.pid;
 
@@ -22,6 +23,7 @@ http {
     #                  '"$http_user_agent" "$http_x_forwarded_for"';
 
     #access_log  logs/access.log  main;
+    access_log off;
 
     sendfile        on;
     #tcp_nopush     on;

+ 2 - 0
php-laravel/deploy/nginx.conf

@@ -4,6 +4,7 @@ worker_processes  8;
 #error_log  logs/error.log;
 #error_log  logs/error.log  notice;
 #error_log  logs/error.log  info;
+error_log /dev/null crit;
 
 #pid        logs/nginx.pid;
 
@@ -21,6 +22,7 @@ http {
     #                  '"$http_user_agent" "$http_x_forwarded_for"';
 
     #access_log  logs/access.log  main;
+    access_log off;
 
     sendfile        on;
     #tcp_nopush     on;

+ 2 - 0
php-lithium/deploy/nginx.conf

@@ -4,6 +4,7 @@ worker_processes  8;
 #error_log  logs/error.log;
 #error_log  logs/error.log  notice;
 #error_log  logs/error.log  info;
+error_log /dev/null crit;
 
 #pid        logs/nginx.pid;
 
@@ -22,6 +23,7 @@ http {
     #                  '"$http_user_agent" "$http_x_forwarded_for"';
 
     #access_log  logs/access.log  main;
+    access_log off;
 
     sendfile        on;
     #tcp_nopush     on;

+ 2 - 0
php-micromvc/deploy/nginx.conf

@@ -4,6 +4,7 @@ worker_processes  8;
 #error_log  logs/error.log;
 #error_log  logs/error.log  notice;
 #error_log  logs/error.log  info;
+error_log /dev/null crit;
 
 #pid        logs/nginx.pid;
 
@@ -22,6 +23,7 @@ http {
     #                  '"$http_user_agent" "$http_x_forwarded_for"';
 
     #access_log  logs/access.log  main;
+    access_log off;
 
     sendfile        on;
     #tcp_nopush     on;

+ 2 - 0
php-phalcon-micro/deploy/nginx.conf

@@ -4,6 +4,7 @@ worker_processes  8;
 #error_log  logs/error.log;
 #error_log  logs/error.log  notice;
 #error_log  logs/error.log  info;
+error_log /dev/null crit;
 
 #pid        logs/nginx.pid;
 
@@ -22,6 +23,7 @@ http {
     #                  '"$http_user_agent" "$http_x_forwarded_for"';
 
     #access_log  logs/access.log  main;
+    access_log off;
 
     sendfile        on;
     #tcp_nopush     on;

+ 2 - 0
php-phalcon/deploy/nginx.conf

@@ -4,6 +4,7 @@ worker_processes  8;
 #error_log  logs/error.log;
 #error_log  logs/error.log  notice;
 #error_log  logs/error.log  info;
+error_log /dev/null crit;
 
 #pid        logs/nginx.pid;
 
@@ -22,6 +23,7 @@ http {
     #                  '"$http_user_agent" "$http_x_forwarded_for"';
 
     #access_log  logs/access.log  main;
+    access_log off;
 
     sendfile        on;
     #tcp_nopush     on;

+ 2 - 0
php-phpixie/deploy/nginx.conf

@@ -4,6 +4,7 @@ worker_processes  8;
 #error_log  logs/error.log;
 #error_log  logs/error.log  notice;
 #error_log  logs/error.log  info;
+error_log /dev/null crit;
 
 #pid        logs/nginx.pid;
 
@@ -22,6 +23,7 @@ http {
     #                  '"$http_user_agent" "$http_x_forwarded_for"';
 
     #access_log  logs/access.log  main;
+    access_log off;
 
     sendfile        on;
     #tcp_nopush     on;

+ 2 - 0
php-silex-orm/deploy/nginx.conf

@@ -4,6 +4,7 @@ worker_processes  8;
 #error_log  logs/error.log;
 #error_log  logs/error.log  notice;
 #error_log  logs/error.log  info;
+error_log /dev/null crit;
 
 #pid        logs/nginx.pid;
 
@@ -22,6 +23,7 @@ http {
     #                  '"$http_user_agent" "$http_x_forwarded_for"';
 
     #access_log  logs/access.log  main;
+    access_log off;
 
     sendfile        on;
     #tcp_nopush     on;

+ 2 - 0
php-silex/deploy/nginx.conf

@@ -4,6 +4,7 @@ worker_processes  8;
 #error_log  logs/error.log;
 #error_log  logs/error.log  notice;
 #error_log  logs/error.log  info;
+error_log /dev/null crit;
 
 #pid        logs/nginx.pid;
 
@@ -22,6 +23,7 @@ http {
     #                  '"$http_user_agent" "$http_x_forwarded_for"';
 
     #access_log  logs/access.log  main;
+    access_log off;
 
     sendfile        on;
     #tcp_nopush     on;

+ 2 - 0
php-silica/deploy/nginx.conf

@@ -4,6 +4,7 @@ worker_processes  8;
 #error_log  logs/error.log;
 #error_log  logs/error.log  notice;
 #error_log  logs/error.log  info;
+error_log /dev/null crit;
 
 #pid        logs/nginx.pid;
 
@@ -22,6 +23,7 @@ http {
     #                  '"$http_user_agent" "$http_x_forwarded_for"';
 
     #access_log  logs/access.log  main;
+    access_log off;
 
     sendfile        on;
     #tcp_nopush     on;

+ 2 - 0
php-slim/deploy/nginx.conf

@@ -4,6 +4,7 @@ worker_processes  8;
 #error_log  logs/error.log;
 #error_log  logs/error.log  notice;
 #error_log  logs/error.log  info;
+error_log /dev/null crit;
 
 #pid        logs/nginx.pid;
 
@@ -22,6 +23,7 @@ http {
     #                  '"$http_user_agent" "$http_x_forwarded_for"';
 
     #access_log  logs/access.log  main;
+    access_log off;
 
     sendfile        on;
     #tcp_nopush     on;

+ 2 - 0
php-symfony2/deploy/nginx.conf

@@ -4,6 +4,7 @@ worker_processes  8;
 #error_log  logs/error.log;
 #error_log  logs/error.log  notice;
 #error_log  logs/error.log  info;
+error_log /dev/null crit;
 
 #pid        logs/nginx.pid;
 
@@ -22,6 +23,7 @@ http {
     #                  '"$http_user_agent" "$http_x_forwarded_for"';
 
     #access_log  logs/access.log  main;
+    access_log off;
 
     sendfile        on;
     #tcp_nopush     on;

+ 2 - 0
php-yaf/deploy/nginx.conf

@@ -1,4 +1,5 @@
 worker_processes  8;
+error_log /dev/null crit;
 
 events {
     worker_connections  1024;
@@ -9,6 +10,7 @@ http {
     default_type  application/octet-stream;
     sendfile      on;
     keepalive_timeout  65;
+    access_log off;
 
     upstream fastcgi_backend {
         server 127.0.0.1:9001;

+ 2 - 0
php/deploy/nginx.conf

@@ -4,6 +4,7 @@ worker_processes  8;
 #error_log  logs/error.log;
 #error_log  logs/error.log  notice;
 #error_log  logs/error.log  info;
+error_log /dev/null crit;
 
 #pid        logs/nginx.pid;
 
@@ -22,6 +23,7 @@ http {
     #                  '"$http_user_agent" "$http_x_forwarded_for"';
 
     #access_log  logs/access.log  main;
+    access_log off;
 
     sendfile        on;
     #tcp_nopush     on;

+ 2 - 0
phreeze/deploy/nginx.conf

@@ -4,6 +4,7 @@ worker_processes  8;
 #error_log  logs/error.log;
 #error_log  logs/error.log  notice;
 #error_log  logs/error.log  info;
+error_log /dev/null crit;
 
 #pid        logs/nginx.pid;
 
@@ -22,6 +23,7 @@ http {
     #                  '"$http_user_agent" "$http_x_forwarded_for"';
 
     #access_log  logs/access.log  main;
+    access_log off;
 
     sendfile        on;
     #tcp_nopush     on;

+ 4 - 2
rack/config/nginx.conf

@@ -25,7 +25,8 @@ worker_processes 8;
 
 # Feel free to change all paths to suite your needs here, of course
 # pid /tmp/nginx.pid;
-error_log /tmp/nginx.error.log;
+#error_log /tmp/nginx.error.log;
+error_log /dev/null crit;
 
 events {
   worker_connections 4096; # increase if you have lots of clients
@@ -42,7 +43,8 @@ http {
   default_type application/octet-stream;
 
   # click tracking!
-  access_log /tmp/nginx.access.log combined;
+  #access_log /tmp/nginx.access.log combined;
+  access_log off;
 
   # you generally want to serve static files with nginx since neither
   # Unicorn nor Rainbows! is optimized for it at the moment

+ 4 - 2
rails-stripped/config/nginx.conf

@@ -25,7 +25,8 @@ worker_processes 8;
 
 # Feel free to change all paths to suite your needs here, of course
 # pid /tmp/nginx.pid;
-error_log /tmp/nginx.error.log;
+#error_log /tmp/nginx.error.log;
+error_log /dev/null crit;
 
 events {
   worker_connections 4096; # increase if you have lots of clients
@@ -42,7 +43,8 @@ http {
   default_type application/octet-stream;
 
   # click tracking!
-  access_log /tmp/nginx.access.log combined;
+  #access_log /tmp/nginx.access.log combined;
+  access_log off;
 
   # you generally want to serve static files with nginx since neither
   # Unicorn nor Rainbows! is optimized for it at the moment

+ 4 - 2
rails/config/nginx.conf

@@ -25,7 +25,8 @@ worker_processes 8;
 
 # Feel free to change all paths to suite your needs here, of course
 # pid /tmp/nginx.pid;
-error_log /tmp/nginx.error.log;
+#error_log /tmp/nginx.error.log;
+error_log /dev/null crit;
 
 events {
   worker_connections 4096; # increase if you have lots of clients
@@ -42,7 +43,8 @@ http {
   default_type application/octet-stream;
 
   # click tracking!
-  access_log /tmp/nginx.access.log combined;
+  #access_log /tmp/nginx.access.log combined;
+  access_log off;
 
   # you generally want to serve static files with nginx since neither
   # Unicorn nor Rainbows! is optimized for it at the moment

+ 4 - 2
sinatra/config/nginx.conf

@@ -25,7 +25,8 @@ worker_processes 8;
 
 # Feel free to change all paths to suite your needs here, of course
 # pid /tmp/nginx.pid;
-error_log /tmp/nginx.error.log;
+#error_log /tmp/nginx.error.log;
+error_log /dev/null crit;
 
 events {
   worker_connections 4096; # increase if you have lots of clients
@@ -42,7 +43,8 @@ http {
   default_type application/octet-stream;
 
   # click tracking!
-  access_log /tmp/nginx.access.log combined;
+  #access_log /tmp/nginx.access.log combined;
+  access_log off;
 
   # you generally want to serve static files with nginx since neither
   # Unicorn nor Rainbows! is optimized for it at the moment

+ 1 - 0
web-simple/nginx.conf

@@ -1,4 +1,5 @@
 user USR;
+error_log /dev/null crit;
 
 worker_processes 2;