odissey: set bootstrap logging format

This commit is contained in:
Dmitry Simonenko 2017-09-28 17:11:48 +03:00
parent bf7227a776
commit 9ffaf7ff66
1 changed files with 2 additions and 0 deletions

View File

@ -82,6 +82,8 @@ void od_logger_init(od_logger_t *logger, od_pid_t *pid)
logger->format = NULL;
logger->format_len = 0;
logger->fd = -1;
/* set temporary format */
od_logger_set_format(logger, "%p %t %l (%c) %m\n");
}
int od_logger_open(od_logger_t *logger, char *path)