add cumulative logging to PrepareVelocityContextService