Logarithmic stable maps to Deligne-Faltings pairs