From b207eb48d9f390582361fbac8e142eb45dd813d9 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Tue, 11 Feb 2025 16:11:39 +0300 Subject: [PATCH] [#606] Use all available log tags by default Signed-off-by: Alex Vanin --- cmd/s3-gw/logger.go | 2 +- docs/configuration.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/s3-gw/logger.go b/cmd/s3-gw/logger.go index b58fd2b7..1b892765 100644 --- a/cmd/s3-gw/logger.go +++ b/cmd/s3-gw/logger.go @@ -16,7 +16,7 @@ const ( 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 { logger *zap.Logger diff --git a/docs/configuration.md b/docs/configuration.md index 8278b2cd..42d5e021 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -422,8 +422,8 @@ tags: * `app` - common application logs (enabled by default). * `datapath` - main logic of application (enabled by default). * `external_blockchain` - external interaction with neo-go blockchain (enabled by default). -* `external_storage` - external interaction with storage node. -* `external_storage_tree` - external interaction with tree service in storage node. +* `external_storage` - external interaction with storage node (enabled by default). +* `external_storage_tree` - external interaction with tree service in storage node (enabled by default). ### `http_logging` section