Adds --general_log_file, --slow_query_log_file command-
line options to match system variables of the same names.
Deprecates --log, --log-slow-queries command-line options
and log, log_slow_queries system-variables for v7.0; they
are superseded by general_log/general_log_file and
slow_query_log/slow_query_log_file, respectively.
"to avoid replication problems if server's hostname changes) argument "
@ -5844,10 +5850,14 @@ Disable with --skip-large-pages.",
(uchar**)&opt_log_slow_slave_statements,
(uchar**)&opt_log_slow_slave_statements,
0,GET_BOOL,NO_ARG,0,0,0,0,0,0},
{"log-slow-queries",OPT_SLOW_QUERY_LOG,
{"log_slow_queries",OPT_SLOW_QUERY_LOG,
"Log slow queries to a table or log file. Defaults logging to table mysql.slow_log or hostname-slow.log if --log-output=file is used. Must be enabled to activate other slow log options.",
sql_print_warning("options --log-slow-admin-statements, --log-queries-not-using-indexes and --log-slow-slave-statements have no effect if --log-slow-queries is not set");
sql_print_warning("options --log-slow-admin-statements, --log-queries-not-using-indexes and --log-slow-slave-statements have no effect if --log_slow_queries is not set");