[#606] Use all available log tags by default
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
This commit is contained in:
parent
b7650e01ac
commit
b207eb48d9
2 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@ const (
|
||||||
destinationJournald string = "journald"
|
destinationJournald string = "journald"
|
||||||
)
|
)
|
||||||
|
|
||||||
var defaultTags = []string{logs.TagApp, logs.TagApp, logs.TagDatapath}
|
var defaultTags = []string{logs.TagApp, logs.TagDatapath, logs.TagExternalStorage, logs.TagExternalStorageTree, logs.TagExternalBlockchain}
|
||||||
|
|
||||||
type Logger struct {
|
type Logger struct {
|
||||||
logger *zap.Logger
|
logger *zap.Logger
|
||||||
|
|
|
@ -422,8 +422,8 @@ tags:
|
||||||
* `app` - common application logs (enabled by default).
|
* `app` - common application logs (enabled by default).
|
||||||
* `datapath` - main logic of application (enabled by default).
|
* `datapath` - main logic of application (enabled by default).
|
||||||
* `external_blockchain` - external interaction with neo-go blockchain (enabled by default).
|
* `external_blockchain` - external interaction with neo-go blockchain (enabled by default).
|
||||||
* `external_storage` - external interaction with storage node.
|
* `external_storage` - external interaction with storage node (enabled by default).
|
||||||
* `external_storage_tree` - external interaction with tree service in storage node.
|
* `external_storage_tree` - external interaction with tree service in storage node (enabled by default).
|
||||||
|
|
||||||
|
|
||||||
### `http_logging` section
|
### `http_logging` section
|
||||||
|
|
Loading…
Add table
Reference in a new issue