create log in db after 1 message