lower verbosity for this, give context to that

This commit is contained in:
Thibault bui Koechlin 2020-05-27 12:08:38 +02:00 committed by Farica
parent 372d8680c3
commit 87ff0883cf
2 changed files with 2 additions and 2 deletions

View file

@ -151,7 +151,7 @@ func LoadBuckets(files []string, dataFolder string) ([]BucketFactory, chan types
}
//check compat
if g.FormatVersion == "" {
log.Warningf("no version in %s : %s, assuming '1.0'", g.Name, f)
log.Debugf("no version in %s : %s, assuming '1.0'", g.Name, f)
g.FormatVersion = "1.0"
}
ok, err := cwversion.Statisfies(g.FormatVersion, cwversion.Constraint_scenario)

View file

@ -81,7 +81,7 @@ func LoadStages(stageFiles []Stagefile, pctx *UnixParserCtx) ([]Node, error) {
//check for empty bucket
if node.Name == "" && node.Description == "" && node.Author == "" {
log.Infof("Node has no name,author or description. Skipping.")
log.Infof("Node in %s has no name,author or description. Skipping.", stageFile.Filename)
continue
}
//check compat