Status codes caused different log levels

Different status codes caused log messages to be logged at different levels