logging for the view engine

#1563
oh I see. makes sense now