Use after_run hook in rails log example during output.