change logging conditions of LogUtil