If you want test.log, test2.log, and file2 then:
find . -type f
If you do not want file2 then:
find . -maxdepth 1 -type f
If you want test.log, test2.log, and file2 then:
find . -type f
If you do not want file2 then:
find . -maxdepth 1 -type f