Added database logger