Recursive List File Permissions

How can I recursively list file permission including all subdirectories and save the result to a file. I also want to exclude certain file type such as *.log.
All I need is the UID and GID of each of the files/folders output to a text file.
Any ideas, any help very much apperciated.

Bumping up posts or double posting is not permitted in these forums.

Please read the rules, which you agreed to when you registered, if you have not already done so.

You may receive an infraction for this. If so, don't worry, just try to follow the rules more carefully. The infraction will expire in the near future

Thank You.

The UNIX and Linux Forums.