server logging fixes