return logs