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
Defaulting to an unbounded file size (0) seems unsafe. Let's default to 10 files of 10 MB. That way it keeps the storage overhead of Nomad more predictable and easier to factor into the client.reserved stanza.
As a stretch goal we could probably also now implement this as an alternate Sink on hclogger once #6499 lands. That would allow logging at a different log level as well so you could log to stdout (and therefore to your central aggregator) at INFO, but have 100MB worth of DEBUG logs locally in case something went wrong. Probably not worth worrying about in the 0.10.x timeline. Maybe we'll even get this for free once Consul implements hclogger.
The text was updated successfully, but these errors were encountered:
So by only supporting via the config file we're already diverging from Consul. I think safe defaults are worth diverging in behavior -- especially when it makes us more internally consistent with our jobspec logging behavior.
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
I missed a couple things when reviewing #6429:
client.reserved
stanza.As a stretch goal we could probably also now implement this as an alternate Sink on hclogger once #6499 lands. That would allow logging at a different log level as well so you could log to stdout (and therefore to your central aggregator) at INFO, but have 100MB worth of DEBUG logs locally in case something went wrong. Probably not worth worrying about in the 0.10.x timeline. Maybe we'll even get this for free once Consul implements hclogger.
The text was updated successfully, but these errors were encountered: