Print error messages to the appengine logs