DB log adding