You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A longstanding consul-template issue makes Nomad DEBUG logs extremely verbose as consul-template logs several orders of magnitude more than Nomad.
I wasn't sure if this issue should be filed here or consul-template, but as the bug in consul-template is impacting our use of Nomad, and the bug only becomes problematic with how Nomad is using consul-template, I went with Nomad.
Reproduction steps
Turn Nomad log level to DEBUG
Deploy some jobs that have multiple templates reading from consul or Vault
A not small number is output, and the second command's number isn't larger (therefore we know the only thing being logged by Nomad is coming from consul-template).
Hi @lattwood! Yeah, sorry about that... we use consul-template as a library which was never its original intended use, and that hits all kinds of weird quirks in the logging. I don't have an immediate workaround for you unfortunately, but I'll definitely mark this for roadmapping and see if I can get this particular papercut surfaced.
Nomad version
Operating system and Environment details
N/A
Issue
A longstanding consul-template issue makes Nomad DEBUG logs extremely verbose as consul-template logs several orders of magnitude more than Nomad.
I wasn't sure if this issue should be filed here or consul-template, but as the bug in consul-template is impacting our use of Nomad, and the bug only becomes problematic with how Nomad is using consul-template, I went with Nomad.
Reproduction steps
journalctl --unit nomad.service --since '1 minute ago' | grep runner | grep debug | wc -l
Expected Result
Actual Result
A not small number is output, and the second command's number isn't larger (therefore we know the only thing being logged by Nomad is coming from consul-template).
Nomad Client logs (if appropriate)
Too big to put in the issue, sanitized gist is here: https://gist.github.com/lattwood/8c42d04e4caaf224a72d4a991d6a35b8
The text was updated successfully, but these errors were encountered: