Log templates files were simply lacking fallback values

I also added a unit test to prevent future regressions

close #38618

Comment From: philwebb

Thanks very much @ilies-bel, this will be in the next release.