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

Log level not working as documented #18

Open
foucdeg opened this issue Nov 24, 2018 · 0 comments
Open

Log level not working as documented #18

foucdeg opened this issue Nov 24, 2018 · 0 comments

Comments

@foucdeg
Copy link

foucdeg commented Nov 24, 2018

I am trying to investigate a timeout issue at the "waiting for DNS refresh" phase.
I tried to specify a debug log level in the dehydrated config file as specified in the doc:

HOOK=/usr/bin/dehydrated-hooks/ovh/hook.py --level=debug

but the latter part is interpreted as a command and not found:

/etc/dehydrated/config: line 30: --level=debug: command not found

If I use quotes around the whole value, as such:

HOOK="/usr/bin/dehydrated-hooks/ovh/hook.py --level=debug"

I get another error, which shows that dehydrated expects HOOK to be an executable without flags:

/usr/bin/dehydrated: line 91: /usr/bin/dehydrated-hooks/ovh/hook.py --level=debug: No such file or directory

How do I pass the --level=debug flag?

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

1 participant