From 69451fc6a5a7ca0f903c82cf8b44bcdbfa2707b6 Mon Sep 17 00:00:00 2001 From: yinbin Date: Thu, 16 Nov 2023 17:29:21 +0800 Subject: [PATCH] PRE_LOG: modify prelog info transfer to terminal at the same time --- src/lstack/include/lstack_log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lstack/include/lstack_log.h b/src/lstack/include/lstack_log.h index 8b4209a..e4bed37 100644 --- a/src/lstack/include/lstack_log.h +++ b/src/lstack/include/lstack_log.h @@ -32,7 +32,7 @@ do { \ static inline void lstack_prelog_init(const char *name) { - openlog(name, LOG_CONS | LOG_PID, LOG_USER); + openlog(name, LOG_PERROR | LOG_PID, LOG_USER); } static inline void lstack_prelog_uninit(void) { -- 2.27.0