separation of logs and errors