2016-04-26 7 views
0

私たちのerror.logファイルをチェックしていたし、それは完全なのです...(デバッグ/警告)の多くを必要としない:Apacheのログレベル

サーバー1:

[Tue Apr 26 03:28:14.641442 2016] [authz_core:debug] [pid 12490] mod_authz_core.c(802): [client xx.xx.xx.xx:54849] AH01626: authorization result of <RequireAny>: granted 
[Tue Apr 26 03:28:14.641496 2016] [authz_core:debug] [pid 12490] mod_authz_core.c(802): [client xx.xx.xx.xx:54849] AH01626: authorization result of Require all granted: granted 
[Tue Apr 26 03:28:14.641506 2016] [authz_core:debug] [pid 12490] mod_authz_core.c(802): [client xx.xx.xx.xx:54849] AH01626: authorization result of <RequireAny>: granted 
[Tue Apr 26 03:28:14.710134 2016] [headers:debug] [pid 12490] mod_headers.c(845): AH01502: headers: ap_headers_output_filter() 

は、サーバー2:

PHP Warning: Module 'newrelic' already loaded in Unknown on line 0 
[Mon Apr 25 06:31:35.756293 2016] [mpm_prefork:notice] [pid 1993] AH00163: Apach    e/2.4.7 (Ubuntu) configured -- resuming normal operations 
[Mon Apr 25 06:31:35.756309 2016] [core:notice] [pid 1993] AH00094: Command line    : '/usr/sbin/apache2' 
[Tue Apr 26 03:22:14.689539 2016] [mpm_prefork:notice] [pid 1993] AH00169: caugh    t SIGTERM, shutting down 
PHP Warning: Module 'newrelic' already loaded in Unknown on line 0 
[Tue Apr 26 03:22:15.796372 2016] [mpm_prefork:notice] [pid 3709] AH00163: Apach    e/2.4.7 (Ubuntu) configured -- resuming normal operations 
[Tue Apr 26 03:22:15.796472 2016] [core:notice] [pid 3709] AH00094: Command line    : '/usr/sbin/apache2' 

私はのためにapache2.confを変更:

LogLevel error 

Server2では動作しますがServer1では動作しません

apache2サービスを再起動しましたが、error.logファイルで生成されています。

答えて

0

これはサイト内の別の設定によるものです。これは二重の設定が可能です。

そして、Server2で動作していたのは、サイト内でその構成を使用できるためです。

関連する問題