Added logging database