Log DB Function
I think events return correctly after a helluva execution time