add log for init