@@ -92,7 +92,7 @@ func (pm *PackageManager) LoadHardwareFromDirectory(path string) error {
92
92
93
93
// First exclude all "tools" folders
94
94
if packager == "tools" {
95
- logrus .Debugf ("Excluding folder: %s" , filepath .Join (path , packager ))
95
+ logrus .Infof ("Excluding folder: %s" , filepath .Join (path , packager ))
96
96
continue
97
97
}
98
98
@@ -135,7 +135,7 @@ func (pm *PackageManager) LoadHardwareFromDirectory(path string) error {
135
135
// - PACKAGER/tools/TOOL-NAME/TOOL-VERSION/... (ex: arduino/tools/bossac/1.7.0/...)
136
136
toolsSubdirPath := filepath .Join (packagerPath , "tools" )
137
137
if info , err := os .Stat (toolsSubdirPath ); err == nil && info .IsDir () {
138
- logrus .Debugf ("Checking existence of 'tools' path: %s" , toolsSubdirPath )
138
+ logrus .Infof ("Checking existence of 'tools' path: %s" , toolsSubdirPath )
139
139
if err := pm .loadToolsFromPackage (targetPackage , toolsSubdirPath ); err != nil {
140
140
return fmt .Errorf ("loading tools from %s: %s" , toolsSubdirPath , err )
141
141
}
@@ -183,7 +183,7 @@ func (pm *PackageManager) loadPlatforms(targetPackage *cores.Package, packageFol
183
183
if err := pm .loadPlatformRelease (release , platformPath ); err != nil {
184
184
return fmt .Errorf ("loading platform release: %s" , err )
185
185
}
186
- logrus .WithField ("platform" , release ).Debugf ("Loaded platform" )
186
+ logrus .WithField ("platform" , release ).Infof ("Loaded platform" )
187
187
188
188
} else if os .IsNotExist (err ) {
189
189
// case: ARCHITECTURE/VERSION/boards.txt
@@ -205,7 +205,7 @@ func (pm *PackageManager) loadPlatforms(targetPackage *cores.Package, packageFol
205
205
if err := pm .loadPlatformRelease (release , platformWithVersionPath ); err != nil {
206
206
return fmt .Errorf ("loading platform release %s: %s" , version , err )
207
207
}
208
- logrus .WithField ("platform" , release ).Debugf ("Loaded platform" )
208
+ logrus .WithField ("platform" , release ).Infof ("Loaded platform" )
209
209
}
210
210
} else {
211
211
return fmt .Errorf ("looking for boards.txt in %s: %s" , possibleBoardTxtPath , err )
@@ -319,7 +319,7 @@ func loadToolReleasesFromTool(tool *cores.Tool, toolPath string) error {
319
319
if toolReleasePath , err := filepath .Abs (filepath .Join (toolPath , version )); err == nil {
320
320
release := tool .GetOrCreateRelease (version )
321
321
release .Folder = toolReleasePath
322
- logrus .WithField ("tool" , release ).Debugf ("Loaded tool" )
322
+ logrus .WithField ("tool" , release ).Infof ("Loaded tool" )
323
323
} else {
324
324
return err
325
325
}
@@ -372,7 +372,7 @@ func (pm *PackageManager) LoadToolsFromBundleDirectory(toolsPath string) error {
372
372
if builtinToolsVersionsTxtPath != "" {
373
373
// If builtin_tools_versions.txt is found create tools based on the info
374
374
// contained in that file
375
- logrus .Debugf ("Found builtin_tools_versions.txt" )
375
+ logrus .Infof ("Found builtin_tools_versions.txt" )
376
376
toolPath , err := filepath .Abs (filepath .Dir (builtinToolsVersionsTxtPath ))
377
377
if err != nil {
378
378
return fmt .Errorf ("getting parent dir of %s: %s" , builtinToolsVersionsTxtPath , err )
@@ -390,7 +390,7 @@ func (pm *PackageManager) LoadToolsFromBundleDirectory(toolsPath string) error {
390
390
tool := targetPackage .GetOrCreateTool (toolName )
391
391
release := tool .GetOrCreateRelease (toolVersion )
392
392
release .Folder = toolPath
393
- logrus .WithField ("tool" , release ).Debugf ("Loaded tool" )
393
+ logrus .WithField ("tool" , release ).Infof ("Loaded tool" )
394
394
}
395
395
}
396
396
} else {
0 commit comments