【发布时间】:2018-01-23 11:28:03
【问题描述】:
我有一个带有 mod_cluster 且配置最少的工作 Apache:
(mod_jk.conf)
LoadModule cluster_slotmem_module modules/mod_cluster_slotmem.so
LoadModule manager_module modules/mod_manager.so
LoadModule proxy_cluster_module modules/mod_proxy_cluster.so
LoadModule advertise_module modules/mod_advertise.so
Listen 5555
<VirtualHost *:5555>
LogLevel warn
<Directory />
Require all granted
</Directory>
<Location />
Order deny,allow
Allow from all
</Location>
ManagerBalancerName mybalancer
ServerAdvertise on
EnableMCPMReceive On
<Location /mod_cluster-manager>
SetHandler mod_cluster-manager
Order deny,allow
Allow from all
</Location>
</VirtualHost>
我的问题是,在我的 access_log 中我有:
...
ClusterListener/1.0
ClusterListener/1.0
ClusterListener/1.0
ClusterListener/1.0
ClusterListener/1.0
ClusterListener/1.0
ClusterListener/1.0
ClusterListener/1.0
ClusterListener/1.0
ClusterListener/1.0
ClusterListener/1.0
ClusterListener/1.0
...
我不想在我的 access_log 中记录这些“ClusterListener/1.0”。
我尝试在 httpd.conf 中更改我的 LogLevel:
...
LogLevel warn
...
我已经尝试将“LogLevel”放在我的 mod_jk.conf 中
但是,这些选项不起作用。我需要做什么才能删除这些日志?
【问题讨论】: