receive packets from mrzcpd; log output supports stderr or file

This commit is contained in:
luwenpeng
2024-01-30 18:07:08 +08:00
parent 7d7cc8e90c
commit 6d1f352bc9
18 changed files with 810 additions and 141 deletions

View File

@@ -304,7 +304,7 @@ void config_dump(struct config *cfg)
CONFIG_LOG_DEBUG("system.nr_threads : %d", cfg->sys_cfg.nr_threads);
for (uint16_t i = 0; i < cfg->sys_cfg.nr_threads; i++)
{
CONFIG_LOG_DEBUG("system.cpu_mask[%d] : %d", i, cfg->sys_cfg.cpu_mask[i]);
CONFIG_LOG_DEBUG("system.cpu_mask[%d] : %d", i, cfg->sys_cfg.cpu_mask[i]);
}
CONFIG_LOG_DEBUG("session_manager.max_tcp_session_num : %ld", cfg->sess_mgr_cfg.max_tcp_session_num);