Closed onlyjob closed 5 years ago
Hello @onlyjob and thanks for submitting this report!
That is quite a bit of logging! If you take a look at lxc.nomad#L10-L11
, you'll find the logging is set to "trace" and the "verbose" flag is set. You may want to change those to turn down the noise.
Yes indeed, logging is much more adequate with log_level = "info"
.
Thanks for the tip, @tgross. Perhaps example could be corrected? log_level = "trace"
is neither a good default nor a right setting for the first job to run on lxc driver.
Closing in favour of https://github.com/hashicorp/nomad-education-content/issues/1
Thanks.
I'm running example job on
template = "/usr/share/lxc/templates/lxc-debian"
and the following is logged more than once per second toexample-lxc.log
in the alloc directory:Changing to
template = "/usr/share/lxc/templates/lxc-busybox"
makes no difference...