Fix message about journal_max_age default value

The monitor and parameter names were the wrong way around and the message
stated the value was in milliseconds when in fact it is in seconds.
This commit is contained in:
Markus Mäkelä 2017-08-13 08:02:46 +03:00
parent 5a5ab1fb26
commit 2430f1b6b1

View File

@ -3150,8 +3150,8 @@ int create_new_monitor(CONFIG_CONTEXT *context, CONFIG_CONTEXT *obj, HASHTABLE*
else
{
MXS_NOTICE("Monitor '%s' is missing the '%s' parameter, "
"using default value of %d milliseconds.",
CN_JOURNAL_MAX_AGE, obj->object, DEFAULT_JOURNAL_MAX_AGE);
"using default value of %d seconds.",
obj->object, CN_JOURNAL_MAX_AGE, DEFAULT_JOURNAL_MAX_AGE);
}
char *connect_timeout = config_get_value(obj->parameters, CN_BACKEND_CONNECT_TIMEOUT);