Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file patterns in fallback.json look odd #52

Open
d-hat opened this issue Feb 6, 2018 · 1 comment
Open

file patterns in fallback.json look odd #52

d-hat opened this issue Feb 6, 2018 · 1 comment

Comments

@d-hat
Copy link

d-hat commented Feb 6, 2018

If I'm reading the code correctly, files.file entries in .fallback.json are expanded by utilities._expand_paths(). If that's true, entries like these will not match anything:

 "file": "/var/log/tomcat.*/()*catalina\\.out"

nor entries like these:

  "file": "/etc/systemd/journald\\.conf\\.d/()*.+\\.conf"
@kylape
Copy link
Member

kylape commented Feb 8, 2018

Yep, that's correct. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants