forked from TrueCloudLab/frostfs-node
[#1770] node: Support logger config rereading
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
8c75cb1dad
commit
b6806ea6b9
2 changed files with 123 additions and 63 deletions
|
@ -54,7 +54,7 @@ func main() {
|
|||
)
|
||||
exitErr(err)
|
||||
|
||||
log, err := logger.NewLogger(logPrm)
|
||||
log, err := logger.NewLogger(&logPrm)
|
||||
exitErr(err)
|
||||
|
||||
ctx, cancel := signal.NotifyContext(context.Background(), syscall.SIGINT, syscall.SIGTERM, syscall.SIGHUP)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue