Logging some errors.