log: Fixed compilation error