Skip to content

Conversation

zuckschwerdt
Copy link
Collaborator

Adds an option to all outputs to set a maximum log level to proccess.

E.g. interesting uses might be:

  • -F json,v=5 : print logs up to NOTICE as json
  • -F csv,v=8:out.csv : log everything to a CSV file
  • -F kv,v=0, disable all logging on console

Defaults are:

  • json: v=0, log nothing
  • csv: v=0, log nothing
  • kv: v=8, log everything
  • syslog: v=4, log CRITICAL, ERROR, WARNING only
  • http: not configurable, the API offers all log levels

Preparation for #2254

@zuckschwerdt zuckschwerdt merged commit 0ff7247 into master Dec 19, 2022
@zuckschwerdt zuckschwerdt deleted the feat-outlvl branch December 19, 2022 17:44
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

Successfully merging this pull request may close these issues.

1 participant