Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Wildcard filepaths are treated literally #8

Open
jimmycuadra opened this issue Apr 8, 2014 · 0 comments
Open

Wildcard filepaths are treated literally #8

jimmycuadra opened this issue Apr 8, 2014 · 0 comments

Comments

@jimmycuadra
Copy link

In the documentation for the logentires agent, there is a section about using wildcards for a log file's path in order to match multiple files: https://logentries.com/doc/agent/#following

Among the values in my node[:logentries][:log_files] attribute is the mapping 'Postgres' => '/var/log/postgres/postgres-*.log'. I discovered that this result in logentries following that as a literal pathname. When I ran the same command manually from the shell, it correctly registered the path of the real matching file, /var/log/postgres/postgres-9.3-main.log. Perhaps something in this cookbook is suppressing the shell expansion.

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

No branches or pull requests

1 participant