debug logging correctly shows up with [DEBUG] flag as info and database bulletproofing added