Skip to content

Commit c9f65ca

Browse files
cosmo0920edsiper
authored andcommitted
out_file: Clean up debug messages
Signed-off-by: Hiroshi Hatake <[email protected]>
1 parent 54f31a5 commit c9f65ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/out_file/file.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ static int mkpath(struct flb_output_instance *ins, const char *dir)
422422
p++;
423423
}
424424

425-
flb_plg_debug(ins, "starting to create directory %s", parent_path);
425+
flb_plg_debug(ins, "processing path '%s'", parent_path);
426426
sep = strstr(parent_path, FLB_PATH_SEPARATOR);
427427
if (sep != NULL && PathRemoveFileSpecA(parent_path)) {
428428
flb_plg_debug(ins, "creating directory (recursive) %s", parent_path);
@@ -433,7 +433,7 @@ static int mkpath(struct flb_output_instance *ins, const char *dir)
433433
}
434434
}
435435

436-
flb_plg_debug(ins, "creating directory %s", dir);
436+
flb_plg_debug(ins, "attempting to create final directory '%s'", dir);
437437
if (!CreateDirectoryA(dir, NULL)) {
438438
err = GetLastError();
439439

0 commit comments

Comments
 (0)