commented out DB logging code