fixed a printf format error
make default log flags private; add get/set methods