close db log