Wrong interaction between stdout flag of different loggers
ngeiswei opened this issue · comments
Problem
Setting the stdout flag of a logger consequently, and incorrectly, sets the stdout flags of other loggers to that same value.
Reproducibility
Enable LoggerUTest::xtestLoggerStdoutFlagInteraction
(i.e. remove x
)
cogutil/tests/util/LoggerUTest.cxxtest
Lines 287 to 298 in 64bbb63
I suspect the problem was introduced while fixing #118
@linas if you happen to have a fix, great, otherwise no worries I'll take care of it.
Hmm. I guess you have it set up so that different loggers write to the same log file? Yeah, that flag seems to be operating at a per-file basis.