Makes config.LoadConfig() silent

This commit is contained in:
Faissal Elamraoui 2017-03-18 20:05:06 +01:00
parent e543958fe3
commit 855ac34dd3
1 changed files with 0 additions and 2 deletions

View File

@ -99,7 +99,6 @@ func LoadConfig() {
switch file.Name() { switch file.Name() {
case "bee.json": case "bee.json":
{ {
beeLogger.Log.Info("Loading configuration from 'bee.json'...")
err = parseJSON(filepath.Join(currentPath, file.Name()), &Conf) err = parseJSON(filepath.Join(currentPath, file.Name()), &Conf)
if err != nil { if err != nil {
beeLogger.Log.Errorf("Failed to parse JSON file: %s", err) beeLogger.Log.Errorf("Failed to parse JSON file: %s", err)
@ -108,7 +107,6 @@ func LoadConfig() {
} }
case "Beefile": case "Beefile":
{ {
beeLogger.Log.Info("Loading configuration from 'Beefile'...")
err = parseYAML(filepath.Join(currentPath, file.Name()), &Conf) err = parseYAML(filepath.Join(currentPath, file.Name()), &Conf)
if err != nil { if err != nil {
beeLogger.Log.Errorf("Failed to parse YAML file: %s", err) beeLogger.Log.Errorf("Failed to parse YAML file: %s", err)