From 65ffda9db293364d9200359072fec595b0d42191 Mon Sep 17 00:00:00 2001 From: Keeyou Date: Sat, 20 Apr 2024 08:06:11 +0800 Subject: [PATCH] harmony: logging to stderr --- src/harmony/yass.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/harmony/yass.cpp b/src/harmony/yass.cpp index 30bf63374..7d90d0ba5 100644 --- a/src/harmony/yass.cpp +++ b/src/harmony/yass.cpp @@ -1159,6 +1159,7 @@ static napi_module yassModule = { }; extern "C" __attribute__((constructor)) void RegisterEntryModule(void) { + absl::SetFlag(&FLAGS_logtostderr, true); napi_module_register(&yassModule); }