Skip to content

Commit

Permalink
logging: new mode -l passthrough-tty
Browse files Browse the repository at this point in the history
it works in a similar way to passthrough, the only difference is that
it is also allowed on a TTY.

Signed-off-by: Giuseppe Scrivano <[email protected]>
  • Loading branch information
giuseppe committed Nov 24, 2023
1 parent f0eb924 commit f4b9ffc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ctr_logging.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,10 @@ static void parse_log_path(char *log_config)
use_logging_passthrough = TRUE;
return;
}
if (!strcmp(driver, "passthrough-tty")) {
use_logging_passthrough = TRUE;
return;
}

if (!strcmp(driver, JOURNALD_FILE_STRING)) {
use_journald_logging = TRUE;
Expand Down

0 comments on commit f4b9ffc

Please sign in to comment.