Changed two method calls from 'Log' to 'Logf'