prevent log from being flush to console