-
Notifications
You must be signed in to change notification settings - Fork 466
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
Please clarify changes to the logging system with 21.2 #10791
Comments
@cjireland, 21.2 is still in development and, I imagine, not ready for documentation. Can you clarify what you're looking for here? |
Hi @jseldess , sure. With 21.2 it seems that plans are afoot to change the logging and possibly remove some of the defaults so changes will be required in order to retain the status quo, see:
This request is really to preempt that and ensure that the 21.2 docs include all the settings so that a client can maintain the status quo as far as logging is concerned should they wish. This has been done for 21.1 here: https://www.cockroachlabs.com/docs/v21.1/configure-logs#default-logging-configuration. |
@knz Assuming the callout is still accurate:
Do we have any insights on the default logging behavior in v21.2 if
Would this yaml ( Also, I noticed a discrepancy in that yaml: |
That doesn't seem intentional... However I'm noticing we don't have tests for the generated file names either. So that is an oversight combined with a lack of testing/QA. That said:
it would be, but it's overkill. The following yaml is the minimal yaml sufficient to obtain a similar behavior to 20.2: sinks:
file-groups:
pebble:
channels: [STORAGE]
sql-audit:
channels: [SENSITIVE_ACCESS]
auth:
channels: [SESSIONS]
sql-exec:
channels: [SQL_EXEC]
sql-slow:
channels: [SQL_PERF]
sql-slow-internal-only:
channels: [SQL_INTERNAL_PERF] (change |
The current docs refer to changes to the logging system here: https://www.cockroachlabs.com/docs/v21.1/logging-overview.html#changes-to-logging-system.
It is not entirely clear what those changes will be in the context of the new logging model.
For example, will we have to include file names for each channel otherwise a channel will not be exported? How do we do that?
Whilst we have a set of default cfg for 21.1, when it comes to 21.2 it would be great to see what changes we would need to make for 21.2 in order to get exactly the same output as 20.x. Ideally a set of cfg for 21.2 should be included to give people the same logs as https://www.cockroachlabs.com/docs/v21.1/configure-logs#default-logging-configuration.
The text was updated successfully, but these errors were encountered: