logging: preserve system diagnostics and inherit Android debug level

This commit is contained in:
evgeny committed 2026-10-07 21:21:33 +02:00
1 parent 1bb885fd11
commit 653853588a
3 files changed
+3 -4

No files matched your search

+2 -2
View File
@@ -142,8 +142,8 @@ void UtunNode::runLoop() {
g_debug_config.level = DEBUG_LEVEL_INFO;
}
/* chatgui defaults: suppress spam, verbose for our categories */
g_debug_config.category_levels[DEBUG_CATEGORY_SYS] = DEBUG_LEVEL_DISABLED;
/* Системные ошибки и жизненный цикл ядра должны быть видны без специальной настройки. */
g_debug_config.category_levels[DEBUG_CATEGORY_SYS] = DEBUG_LEVEL_INFO;
g_debug_config.category_levels[DEBUG_CATEGORY_BGP] = DEBUG_LEVEL_INFO;
/* per-category overrides from config: cat=level,cat=level,... */