log: Fix wrong name function.