refactor: add agent name in logger

This commit is contained in:
lorsan
2026-05-04 09:40:09 +03:00
parent 322f586ba4
commit ea5cca09f5
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -33,6 +33,7 @@ func NewApp() (*App, error) {
logger := log.NewLogger(cfg)
logger = logger.With().Str("component", "internal.app").Logger()
logger = logger.With().Str("name", cfg.AppName).Logger()
sett, err := settings.ReadSettings(cfg.SettingsPath)
if err != nil {