More stats fixes.
Print log.