First of all, I don't see the reason for it; I think it would be better to remove the would_log() from SG_LOG() and make the former return if it will actually get printed to the console. Second of all, it makes me have to check the priority manually, and it would be nice to just have the would_log() API for that. Third, I'm not sure if we're hard-coding the minimum log level for $FG_HOME/fgfs.log? IMO that would not be good, although it is an acceptable default if we were to choose anything. The problem is that it's pretty complicated code, and I don't want to have to chase any more sources right now. Any comments from others? I don't want to go running around and changing this without input

See this comment:
https://gitorious.org/fg/philosophers-f ... s.cxx#L463
And this particular line of would_log():
https://gitorious.org/fg/philosophers-s ... m.cxx#L268