Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: extend debug merge-log with the ability to filter logging channels #69782

Open
knz opened this issue Sep 2, 2021 · 0 comments
Open

cli: extend debug merge-log with the ability to filter logging channels #69782

knz opened this issue Sep 2, 2021 · 0 comments
Labels
A-logging In and around the logging infrastructure. C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-observability

Comments

@knz
Copy link
Contributor

knz commented Sep 2, 2021

Sometimes folk use the default configuration and then later discover they would like to focus on events from just one channel.

For example, folk may want to see only the events for USER_ADMIN which are typically included in the main log file.

For this we want a new flag in debug merge-log to only display events on a selected set of channels.

For example:

  • --channels='user_admin, privileges' (inclusive)
  • --channels='all except health' (exclusive)

NB: the syntax parser is already implemented in logconfig.ChannelList.

Jira issue: CRDB-9793

Epic CRDB-20791

@knz knz added C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) A-logging In and around the logging infrastructure. labels Sep 2, 2021
@knz knz added this to To do in DB Server & Security via automation Sep 2, 2021
@blathers-crl blathers-crl bot added the T-server-and-security DB Server & Security label Sep 2, 2021
@knz knz moved this from To do to Queued for roadmapping in DB Server & Security Sep 13, 2021
@thtruo thtruo added T-observability-inf and removed T-server-and-security DB Server & Security labels Feb 18, 2022
@jtsiros jtsiros added this to To do in Observability Infrastructure via automation Feb 22, 2022
@jtsiros jtsiros removed this from Queued for roadmapping in DB Server & Security Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-logging In and around the logging infrastructure. C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-observability
Projects
No open projects
Development

No branches or pull requests

2 participants