@mimik/sumologic-winston-logger 2.1.3 → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/configuration/config.js +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,14 +6,14 @@ The following environment variables are needed to configure logger:
|
|
|
6
6
|
| Env variable name | Description | Default | Comments |
|
|
7
7
|
| ----------------- | ----------- | ------- | -------- |
|
|
8
8
|
| SERVER_TYPE | Type of the server that is logged | null |
|
|
9
|
-
| SERVER_ID |Id of the
|
|
9
|
+
| SERVER_ID | Id of the server that is logged | null |
|
|
10
10
|
| NODE_ENV | Environment of the running instance | local |
|
|
11
11
|
| LOG_LEVEL | Log level of the running instance | debug |
|
|
12
12
|
| CONSOLE_LEVEL | Log level for the console of the running instance | debug |
|
|
13
13
|
| FILTER_FILE | Filename containing filter rules | null |
|
|
14
|
-
| EXIT_DELAY | Delay when
|
|
15
|
-
| NO_STACK |
|
|
16
|
-
| LOG_MODE | String with comma separated words defining the
|
|
14
|
+
| EXIT_DELAY | Delay when exiting gracefully | 2000 | in millisecond
|
|
15
|
+
| NO_STACK | Indicator to log the call stack on all log messages | no |
|
|
16
|
+
| LOG_MODE | String with comma separated words defining the log mode for the running instance | sumologic | (enum: awsS3, awsKinesis, sumologic, all, none)
|
|
17
17
|
|
|
18
18
|
If `LOG_MODE` includes `sumologic` the following environment variables are needed:
|
|
19
19
|
|
package/configuration/config.js
CHANGED
|
@@ -45,14 +45,14 @@ const SINGLE_MODE = 1;
|
|
|
45
45
|
* | Env variable name | Description | Default | Comments |
|
|
46
46
|
* | ----------------- | ----------- | ------- | -------- |
|
|
47
47
|
* | SERVER_TYPE | Type of the server that is logged | null |
|
|
48
|
-
* | SERVER_ID |Id of the
|
|
48
|
+
* | SERVER_ID | Id of the server that is logged | null |
|
|
49
49
|
* | NODE_ENV | Environment of the running instance | local |
|
|
50
50
|
* | LOG_LEVEL | Log level of the running instance | debug |
|
|
51
51
|
* | CONSOLE_LEVEL | Log level for the console of the running instance | debug |
|
|
52
52
|
* | FILTER_FILE | Filename containing filter rules | null |
|
|
53
|
-
* | EXIT_DELAY | Delay when
|
|
54
|
-
* | NO_STACK |
|
|
55
|
-
* | LOG_MODE | String with comma separated words defining the
|
|
53
|
+
* | EXIT_DELAY | Delay when exiting gracefully | 2000 | in millisecond
|
|
54
|
+
* | NO_STACK | Indicator to log the call stack on all log messages | no |
|
|
55
|
+
* | LOG_MODE | String with comma separated words defining the log mode for the running instance | sumologic | (enum: awsS3, awsKinesis, sumologic, all, none)
|
|
56
56
|
*
|
|
57
57
|
* If `LOG_MODE` includes `sumologic` the following environment variables are needed:
|
|
58
58
|
*
|