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
Add the support of custom logging configuration for cockroach version greater than v21.1 (#827)
* Add the support of custom logging configuration for cockroach version greater than v21.1
* Add the support of custom logging configuration through the provided configmap
* Add the logging.yaml key in log configmap
* Add the change entry in CHANGELOG.md
// (Optional) LogConfigMap define the config map which contains log configuration used to send the logs through the
134
+
// proper channels in the cockroachdb. Logging configuration is available for cockroach version v21.1.0 onwards.
135
+
// The logging configuration is taken in format of yaml file, you can check the logging configuration here (https://www.cockroachlabs.com/docs/stable/configure-logs.html#default-logging-configuration)
136
+
// The default logging for cockroach version v20.x or less is stderr, logging API is ignored for older versions.
Copy file name to clipboardExpand all lines: config/crd/bases/crdb.cockroachlabs.com_crdbclusters.yaml
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -973,6 +973,15 @@ spec:
973
973
- host
974
974
type: object
975
975
type: object
976
+
logConfigMap:
977
+
description: (Optional) LogConfigMap define the config map which contains
978
+
log configuration used to send the logs through the proper channels
979
+
in the cockroachdb. Logging configuration is available for cockroach
980
+
version v21.1.0 onwards. The logging configuration is taken in format
981
+
of yaml file, you can check the logging configuration here (https://www.cockroachlabs.com/docs/stable/configure-logs.html#default-logging-configuration)
982
+
The default logging for cockroach version v20.x or less is stderr,
983
+
logging API is ignored for older versions.
984
+
type: string
976
985
maxSQLMemory:
977
986
description: '(Optional) The maximum in-memory storage capacity available
978
987
to store temporary data for SQL queries (`--max-sql-memory` parameter)
0 commit comments