Skip to content

Commit 9a10517

Browse files
committed
output: Add debug messages for loading certificates from certstore
Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io>
1 parent a9ea3b9 commit 9a10517

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/flb_output.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1400,6 +1400,8 @@ int flb_output_init_all(struct flb_config *config)
14001400
}
14011401

14021402
if (ins->tls_win_certstore_name) {
1403+
flb_debug("[output %s] starting to load %s certstore in TLS context",
1404+
ins->name, ins->tls_win_certstore_name);
14031405
ret = flb_tls_set_certstore_name(ins->tls, ins->tls_win_certstore_name);
14041406
if (ret == -1) {
14051407
flb_error("[output %s] error specify certstore name in TLS context",
@@ -1408,6 +1410,8 @@ int flb_output_init_all(struct flb_config *config)
14081410
return -1;
14091411
}
14101412

1413+
flb_debug("[output %s] attempting to load %s certstore in TLS context",
1414+
ins->name, ins->tls_win_certstore_name);
14111415
ret = flb_tls_load_system_certificates(ins->tls);
14121416
if (ret == -1) {
14131417
flb_error("[output %s] error set up to load certstore with a user-defined name in TLS context",

0 commit comments

Comments
 (0)