add log with spec, add logId to entry