8000 fix(emqx_ee_connector): log reason for failure when starting influxdb connector by olcai · Pull Request #9881 · emqx/emqx · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix(emqx_ee_connector): improve log message on influxdb start failures
  • Loading branch information
olcai committed Feb 24, 2023
commit 44c0aae16bef9eb37006b02bef9bf7fd3a8a325a
4 changes: 2 additions & 2 deletions lib-ee/emqx_ee_connector/src/emqx_ee_connector_influxdb.erl
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ do_start_client(
error => influxdb_client_not_alive, reason => Reason
}),
?SLOG(warning, #{
msg => "starting influxdb connector failed - client is not alive",
msg => "failed_to_start_influxdb_connector",
connector => InstId,
client => redact_auth(Client),
reason => Reason
Expand All @@ -275,7 +275,7 @@ do_start_client(
{error, Reason} ->
?tp(influxdb_connector_start_failed, #{error => Reason}),
?SLOG(warning, #{
msg => "starting influxdb connector failed",
msg => "failed_to_start_influxdb_connector",
connector => InstId,
reason => Reason
}),
Expand Down
0