ERROR LOG output fix