8219096: Merge print_termination_stats code with current logging

Reviewed-by: lkorinth, kbarrett
9 files changed