Wildcards seem only to be supported in the file part of a pattern, not in the folder part. It does not seem to be possible to use e.g.
*/log/*.txt
Can the matching be changed to be as flexible as .gitignore? This would include the usage of "*" in the path part of a pattern, as well as "**" for any number of path levels.