如何停止xinetd mysql服务检查logging每一次成功?

如何停止xinetd mysql服务检查logging每一次成功? 它每秒创build一个日志条目检查成功,我不能使用log_on_failure作为服务只是检查mysqld和变成状态= 1,如果它没有运行。

以下是我的mysqlchck脚本

 service mysqlchk { # this is a config for xinetd, place it in /etc/xinetd.d/ disable = no flags = REUSE IPv4 socket_type = stream port = 9200 wait = no user = nobody server = /vvond/install/vvond-clustercheck log_on_failure += USERID only_from = 0.0.0.0/0 # # Passing arguments to clustercheck # <user> <pass> <available_when_donor=0|1> <log_file> <available_when_readonly=0|1> <defaults_extra_file>" # Recommended: server_args = user pass 1 /var/log/log-file 0 /etc/my.cnf.local" # Compatibility: server_args = user pass 1 /var/log/log-file 1 /etc/my.cnf.local" # 55-to-56 upgrade: server_args = user pass 1 /var/log/log-file 0 /etc/my.cnf.extra" # # recommended to put the IPs that need # to connect exclusively (security purposes) per_source = UNLIMITED } 

您可以为log_on_success添加一个空白条目并重新启动xinetd。

{ ... log_on_success = ...}