forked from TrueCloudLab/frostfs-node
[#493] logger: Do not write app name in each log message of Node/IR
Writing application name in each log message seems pretty redundant. Remove no longer used `misc.NodeName` and `misc.InnerRingName` constants. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
db2e43387b
commit
bec4507997
3 changed files with 0 additions and 8 deletions
|
@ -55,7 +55,6 @@ func main() {
|
|||
exitErr(err)
|
||||
|
||||
log = log.With(
|
||||
zap.String("app_name", misc.InnerRingName),
|
||||
zap.String("app_version", misc.Version),
|
||||
)
|
||||
|
||||
|
|
|
@ -363,7 +363,6 @@ func initCfg(path string) *cfg {
|
|||
fatalOnErr(err)
|
||||
|
||||
log = log.With(
|
||||
zap.String("app_name", misc.NodeName),
|
||||
zap.String("app_version", misc.Version),
|
||||
)
|
||||
|
||||
|
|
|
@ -1,15 +1,9 @@
|
|||
package misc
|
||||
|
||||
const (
|
||||
// NodeName is a neofs node application name.
|
||||
NodeName = "neofs-node"
|
||||
|
||||
// Prefix is a neofs node application prefix.
|
||||
Prefix = "neofs"
|
||||
|
||||
// InnerRingName is an inner ring application name.
|
||||
InnerRingName = "neofs-ir"
|
||||
|
||||
// InnerRingPrefix is an inner ring application prefix.
|
||||
InnerRingPrefix = "neofs_ir"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue