switch off debug logging, add error messages