Added log to hist