[logs] only execute callback once?