Open willfong opened 7 years ago
Hm, well we're actively developing on Bedrock so those logs are super helpful. However, I agree that if you're not actively improving Bedrock itself, then they're mostly just noise. I think the solution would be to add a -q
"quiet mode" option that reduces verbosity (eg, only showing HMMM, WARN, and ALRT).
To do this should be simple:
LOG_INFO
LOG_DEBUG
if you provide command line parameter -v
for verbose loggingelse if (args.isSet("-q"))
check that sets LOG_WARN
logging level, meaning it will only log warns and above if -q
is provided-q
parameterFYI, posted an Upwork project here if anybody wants to earn a quick $500: https://www.upwork.com/jobs/~01a73c71734d653add
Is it possible to make the -q option enabled by default in the apt package? That way non-developers won't have to worry about enabling it? Thanks!
Thanks @basiliscos I really I appreciate the quick work!
@righdforsa I like the idea of making -q
the default for the public repo, but running without it internally. How would you recommend doing that?
Also, @righdforsa, what's the ETA for the next public release, and ideally switching our internal use over to the public apt get repo?
-q
option added in HEAD; reassigning to @righdforsa until deployed.
By default, it seems like verbose logging is enabled:
That doesn't seem like a good default. My 100-query sysbench run added 10M to syslog:
Maybe there's a better way to handle this?
Thanks, -will