add log on db for ping