select variable_value from performance_schema.global_variables where variable_name="log_error";
variable_value
stderr