Fixed status codes in log file