updated ruby log snippet