Skip to content

Commit

Permalink
Allow passing an ID to journald log driver
Browse files Browse the repository at this point in the history
The ID has been dropped before this patch, but we can use it to refer a
container ID or anything else identifiable.

Signed-off-by: Sascha Grunert <[email protected]>
  • Loading branch information
saschagrunert committed Sep 2, 2024
1 parent de76947 commit 77a51fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcrun/error.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ libcrun_init_logging (crun_output_handler *new_output_handler, void **new_output

case LOG_TYPE_JOURNALD:
*new_output_handler = log_write_to_journald;
*new_output_handler_arg = NULL;
*new_output_handler_arg = (void *) log + strlen ("journald:");
break;
}
}
Expand Down

0 comments on commit 77a51fc

Please sign in to comment.