elog: Refactoring: removed separate _get_to()