MINOR: log: Remove log-error-via-logformat option
This option will be replaced by a "error-log-format" that enables to use a dedicated log-format for connection error messages instead of the regular log-format (in which most of the fields would be invalid in such a case). The "log-error-via-logformat" mechanism will then be replaced by a test on the presence of such an error log format or not. If a format is defined, it is used for connection error messages, otherwise the legacy error log format is used.
This commit is contained in:
parent
28e295d92c
commit
3d6350e108
|
@ -9041,23 +9041,6 @@ no option logasap
|
|||
logging.
|
||||
|
||||
|
||||
option log-error-via-logformat
|
||||
no option log-error-via-logformat
|
||||
Enable or disable dedicated connection error logging.
|
||||
May be used in sections : defaults | frontend | listen | backend
|
||||
yes | yes | yes | no
|
||||
Arguments : none
|
||||
|
||||
In case of connection error, if the option is disabled, a log line following
|
||||
the format described in section 8.2.6, the legacy format, will be emitted.
|
||||
Otherwise, a log line following the configured log-format for the listener
|
||||
will be emitted. The error code and the corresponding message found in the
|
||||
error log can be added to a log-format thanks to the "fc_conn_err" and
|
||||
"fc_conn_err_str" sample fetches.
|
||||
|
||||
See also : "option httpslog" and section 8 about logging.
|
||||
|
||||
|
||||
option mysql-check [ user <username> [ { post-41 | pre-41 } ] ]
|
||||
Use MySQL health checks for server testing
|
||||
May be used in sections : defaults | frontend | listen | backend
|
||||
|
|
|
@ -72,7 +72,6 @@ const struct cfg_opt cfg_opts[] =
|
|||
{ "http-ignore-probes", PR_O_IGNORE_PRB, PR_CAP_FE, 0, PR_MODE_HTTP },
|
||||
{ "prefer-last-server", PR_O_PREF_LAST, PR_CAP_BE, 0, PR_MODE_HTTP },
|
||||
{ "logasap", PR_O_LOGASAP, PR_CAP_FE, 0, 0 },
|
||||
{ "log-error-via-logformat", PR_O_ERR_LOGFMT, PR_CAP_FE, 0, 0 },
|
||||
{ "nolinger", PR_O_TCP_NOLING, PR_CAP_FE | PR_CAP_BE, 0, 0 },
|
||||
{ "persist", PR_O_PERSIST, PR_CAP_BE, 0, 0 },
|
||||
{ "srvtcpka", PR_O_TCP_SRV_KA, PR_CAP_BE, 0, 0 },
|
||||
|
|
Loading…
Reference in New Issue