Skip to content

Commit 6362548

Browse files
boktorbbkavilla
authored andcommitted
Rename kbn-logging to osd-logging (#37) (#50)
Signed-off-by: Bishoy Boktor <boktorbb@amazon.com>
1 parent 1c7a995 commit 6362548

14 files changed

+9
-9
lines changed

packages/kbn-logging/README.md packages/osd-logging/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# kbn-logging
1+
# osd-logging
22

3-
Base types for the kibana platform logging system.
3+
Base types for the OpenSearch Dashboards platform logging system.
44

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

13-
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).
13+
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).
1414
The main idea is to have consistent logging behaviour (configuration, log format etc.) across the entire Elastic Stack
1515
where possible.
1616

1717
## Loggers, Appenders and Layouts
1818

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

packages/kbn-logging/package.json packages/osd-logging/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
2-
"name": "@kbn/logging",
2+
"name": "@osd/logging",
33
"version": "1.0.0",
44
"private": true,
55
"license": "Apache-2.0",
66
"main": "./target/index.js",
77
"scripts": {
88
"build": "tsc",
9-
"kbn:bootstrap": "yarn build",
10-
"kbn:watch": "yarn build --watch"
9+
"osd:bootstrap": "yarn build",
10+
"osd:watch": "yarn build --watch"
1111
},
1212
"dependencies": {
13-
"@kbn/std": "1.0.0"
13+
"@osd/std": "1.0.0"
1414
},
1515
"devDependencies": {
1616
"typescript": "4.0.2"
File renamed without changes.
File renamed without changes.
File renamed without changes.

packages/kbn-logging/src/log_level.ts packages/osd-logging/src/log_level.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919

20-
import { assertNever } from '@kbn/std';
20+
import { assertNever } from '@osd/std';
2121

2222
/**
2323
* Possible log level string values.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)