move DataBaseLog to common and add dump