header logging in action handler