Using better log config code.