Added get_recent_log_entries functionality