# HG changeset patch # User Matti Hamalainen # Date 1303315215 -10800 # Node ID 9fcb55bc13664506d0dd42193685ad711ecc11d8 # Parent ffe9051c9b474a2496c53e4f7134a0addc3c2196# Parent fce4e2e31d693dd29c1013b2d1326ebd86259f94 Automated merge with file:///hg/nnchat diff -r ffe9051c9b47 -r 9fcb55bc1366 nnchat.c --- a/nnchat.c Wed Apr 20 18:57:03 2011 +0300 +++ b/nnchat.c Wed Apr 20 19:00:15 2011 +0300 @@ -1081,9 +1081,10 @@ tmpcfg = NULL; th_cfg_add_comment(&tmpcfg, "Enable logging"); - th_cfg_add_bool(&tmpcfg, "log", &optLogEnable, optLogEnable); + th_cfg_add_bool(&tmpcfg, "enable", &optLogEnable, optLogEnable); th_cfg_add_comment(&tmpcfg, "Log filename format"); - th_cfg_add_string(&tmpcfg, "logformat", &optLogFilename, optLogFilename); + th_cfg_add_string(&tmpcfg, "filename", &optLogFilename, optLogFilename); + th_cfg_add_section(&cfg, "logging", tmpcfg); #ifdef __WIN32 {