fix(emqx_ee_connector): improve log message on influxdb start failures
This commit is contained in:
parent
6614c774f8
commit
44c0aae16b
|
@ -254,7 +254,7 @@ do_start_client(
|
||||||
error => influxdb_client_not_alive, reason => Reason
|
error => influxdb_client_not_alive, reason => Reason
|
||||||
}),
|
}),
|
||||||
?SLOG(warning, #{
|
?SLOG(warning, #{
|
||||||
msg => "starting influxdb connector failed - client is not alive",
|
msg => "failed_to_start_influxdb_connector",
|
||||||
connector => InstId,
|
connector => InstId,
|
||||||
client => redact_auth(Client),
|
client => redact_auth(Client),
|
||||||
reason => Reason
|
reason => Reason
|
||||||
|
@ -275,7 +275,7 @@ do_start_client(
|
||||||
{error, Reason} ->
|
{error, Reason} ->
|
||||||
?tp(influxdb_connector_start_failed, #{error => Reason}),
|
?tp(influxdb_connector_start_failed, #{error => Reason}),
|
||||||
?SLOG(warning, #{
|
?SLOG(warning, #{
|
||||||
msg => "starting influxdb connector failed",
|
msg => "failed_to_start_influxdb_connector",
|
||||||
connector => InstId,
|
connector => InstId,
|
||||||
reason => Reason
|
reason => Reason
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in New Issue