Fix logger statement