-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed
Labels
Breaking ChangeFeature:LoggingFeature:New PlatformTeam:CorePlatform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//v8.0.0
Description
Logging service in the legacy platform based on our fork of @hapi/good and internal logic https://github.com/elastic/kibana/blob/8e9a8a84dccfa7965ce8a22362885e6cdef8b51f/src/legacy/server/logging/log_interceptor.js
Preparation steps:
- log filtering Implement filtering mechanism in the Logging service #57547
- log rotation [KP] Implement Log rotation appender #56291
- request/response logging Log HTTP requests, responses #13241
- ops metrics data logging [logging/metrics] Provide ability to log ops data from core metrics service #86162
- make json logs ECS compliant [Core] Logs in JSON layout follow ECS format #90406
- deprecate legacy logging config Deprecate legacy logging configuration in favour of new logging system #82431
- add KP logging documentation Add user-facing docs for new logging configuration #57502
Removing legacy logging:
- Remove
@kbn/legacy-logging - Remove
transformLogginglogic frompackages/kbn-config/src/legacy/legacy_object_to_config_adapter.ts - Remove
@hapi/good/@hapi/good-squeeze/@hapi/podiumfrom kibana dependencies [core.logging] Remove dependency on @hapi/good, @hapi/good-squeeze, @hapi/podium #82240 - Remove legacy appender
src/core/server/legacy/logging/appenders - Remove validation that requires
logging.root.appendersto have adefault(this can now be optional and populated with the default value if nothing is explicitly configured) https://github.com/elastic/kibana/blob/master/src/core/server/logging/logging_config.ts#L79-L81 - Remove legacy logging mixin
src/legacy/server/logging - Update
src/cli/serve/serve.jsto remove references to remove deprecated flags (quiet,log-file), and remove references to deprecated legacy config (used insideverboseandsilent)
Metadata
Metadata
Assignees
Labels
Breaking ChangeFeature:LoggingFeature:New PlatformTeam:CorePlatform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//v8.0.0