GODT-1120 hotfix: use Info level in internal/app logs

This commit is contained in:
Jakub
2021-03-25 09:32:15 +01:00
parent cccadaee42
commit a205d8c046
5 changed files with 16 additions and 11 deletions

View File

@ -136,7 +136,6 @@ func New( // nolint[funlen]
if err := logging.Init(logsPath); err != nil {
return nil, err
}
logging.SetLevel("debug") // Proper level is set later in run.
crashHandler.AddRecoveryAction(logging.DumpStackTrace(logsPath))
if err := migrateFiles(configName); err != nil {

View File

@ -111,7 +111,7 @@ func moveIfExists(source, destination string) error {
l := logrus.WithField("source", source).WithField("destination", destination)
if _, err := os.Stat(source); os.IsNotExist(err) {
l.Debug("No need to migrate file, source doesn't exist")
l.Info("No need to migrate file, source doesn't exist")
return nil
}