Option-File Format
Create a process surrounding the main
process in the event of a crash or other failure.
mysql-proxy
Note
The
When running as a service,
•
--log-backtrace-on-crash
Command-Line Format
Option-File Format
Log a backtrace to the error log and try to initialize the debugger in the event of a failure.
•
--log-file=file_name
Command-Line Format
Option-File Format
The file to use to record log information. If this option is not given,
standard error output.
•
--log-level=level
Command-Line Format
Option-File Format
The log level to use when outputting error messages. Messages with that level (or lower) are output.
For example,
message
•
[1401]
--log-use-syslog
Command-Line Format
Option-File Format
Log errors to the syslog (Unix/Linux only).
•
--lua-cpath=dir_name
Command-Line Format
MySQL Proxy Command Options
keepalive
mysql-proxy
[1400]
option is not available on Microsoft Windows.
--keepalive
mysql-proxy
[1401]
--log-backtrace-on-crash
log-backtrace-on-crash
[1401]
--log-file=file_name
log-file=file_name
Permitted Values
Type
file name
[1401]
--log-level=level
log-level=level
Permitted Values
Type
enumeration
Valid
error
Values
warning
info
message
debug
level also outputs message with info, warning, and
--log-use-syslog
log-use-syslog
[1401]
1401
--lua-cpath=dir_name
process that attempts to restart the main
automatically restarts.
mysql-proxy
error
logs to the
levels.