summaryrefslogtreecommitdiff
path: root/configDir.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-22 17:29:02 -0500
committerJeff Carr <[email protected]>2025-10-22 17:29:02 -0500
commit8b90f990ab783680962480993cad9cdf6bd683f5 (patch)
treee998f5161f674374a7bdfd4e0d66cfc7555c9ba7 /configDir.go
parenta42aa9f634043fe7963ce6458831dafd68e279a9 (diff)
remove logv0.0.31
Diffstat (limited to 'configDir.go')
-rw-r--r--configDir.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/configDir.go b/configDir.go
index 2f034f3..abeb5f4 100644
--- a/configDir.go
+++ b/configDir.go
@@ -2,12 +2,12 @@ package config
import (
"errors"
+ "fmt"
"os"
"path/filepath"
"strings"
"go.wit.com/lib/ENV"
- "go.wit.com/log"
"google.golang.org/protobuf/proto"
)
@@ -35,8 +35,8 @@ func LoadConfigDir(pb proto.Message) error {
if curfilename != fullname {
_, err := SetFilename(pb, fullname)
if err != nil {
- log.Info("FILENAME COULD NOT BE SET old=", curfilename)
- log.Info("FILENAME COULD NOT BE SET new=", fullname)
+ fmt.Println("FILENAME COULD NOT BE SET old=", curfilename)
+ fmt.Println("FILENAME COULD NOT BE SET new=", fullname)
return errors.Join(err, errors.New("something is wrong in lib/config"))
}
}
@@ -49,8 +49,8 @@ func LoadConfigDir(pb proto.Message) error {
if curfilename != fullname {
_, err := SetFilename(pb, fullname)
if err != nil {
- log.Info("FILENAME COULD NOT BE SET old=", curfilename)
- log.Info("FILENAME COULD NOT BE SET new=", fullname)
+ fmt.Println("FILENAME COULD NOT BE SET old=", curfilename)
+ fmt.Println("FILENAME COULD NOT BE SET new=", fullname)
return errors.Join(err, errors.New("something is wrong in lib/config"))
}
}