Skip to content

Commit

Permalink
Rename kbn-logging to osd-logging (#37) (#50)
Browse files Browse the repository at this point in the history
Signed-off-by: Bishoy Boktor <[email protected]>
  • Loading branch information
boktorbb authored and kavilla committed Mar 20, 2021
1 parent 5b9c2a6 commit f0141ed
Show file tree
Hide file tree
Showing 14 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# kbn-logging
# osd-logging

Base types for the kibana platform logging system.
Base types for the OpenSearch Dashboards platform logging system.

Note that this package currently only contains logging types. The only concrete implementation
is still in `core` for now.
Expand All @@ -10,13 +10,13 @@ is still in `core` for now.
- [Log level](#log-level)
- [Layouts](#layouts)

The way logging works in Kibana is inspired by `log4j 2` logging framework used by [Elasticsearch](https://www.elastic.co/guide/en/elasticsearch/reference/current/settings.html#logging).
The way logging works in OpenSearch Dashboards is inspired by `log4j 2` logging framework used by [Elasticsearch](https://www.elastic.co/guide/en/elasticsearch/reference/current/settings.html#logging).
The main idea is to have consistent logging behaviour (configuration, log format etc.) across the entire Elastic Stack
where possible.

## Loggers, Appenders and Layouts

Kibana logging system has three main components: _loggers_, _appenders_ and _layouts_. These components allow us to log
OpenSearch Dashboards logging system has three main components: _loggers_, _appenders_ and _layouts_. These components allow us to log
messages according to message type and level, and to control how these messages are formatted and where the final logs
will be displayed or stored.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "@kbn/logging",
"name": "@osd/logging",
"version": "1.0.0",
"private": true,
"license": "Apache-2.0",
"main": "./target/index.js",
"scripts": {
"build": "tsc",
"kbn:bootstrap": "yarn build",
"kbn:watch": "yarn build --watch"
"osd:bootstrap": "yarn build",
"osd:watch": "yarn build --watch"
},
"dependencies": {
"@kbn/std": "1.0.0"
"@osd/std": "1.0.0"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* under the License.
*/

import { assertNever } from '@kbn/std';
import { assertNever } from '@osd/std';

/**
* Possible log level string values.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit f0141ed

Please sign in to comment.