logging for the view engine

#1563
yeah actually the caching won't work right. Just go without any caching for now, we need to think more about this (ObjectResult has the same issues).