How many files exist on the system that have the ".log" file extension?

Probably not but it depends where you are on the file system when you run it.

Have a look at the output and see if it is what you expect.

I would suspect two things are missing:

  • the path to start in
  • a space between * and .
    Also
  • generally I find it is better to use -iname and " … " around the term for this but ymmv.