log callback added