disable direct logging