simplify disable-logging