error status logging