Only log errors while generating the documentation