summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'init.go')
-rw-r--r--init.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.go b/init.go
index b572477..44e8b7a 100644
--- a/init.go
+++ b/init.go
@@ -1,10 +1,10 @@
package argvpb
import (
+ "fmt"
"time"
"go.wit.com/lib/cobol"
- "go.wit.com/log"
)
// gets APPNAME, BUILDTIME and VERSION from the application
@@ -26,10 +26,10 @@ func initAppname() {
} else if err == nil {
newtime := BUILDTIME.Add(-36 * time.Hour)
app.BUILDTIME = cobol.Time(BUILDTIME)
- log.Printf("TIME initAppname() ERR=(%v) anyString=(%v) GetTime.BUILTIME=(%v) app.BUILDTIME=(%v)\n", err, anyString, newtime, app.BUILDTIME)
+ fmt.Printf("TIME initAppname() ERR=(%v) anyString=(%v) GetTime.BUILTIME=(%v) app.BUILDTIME=(%v)\n", err, anyString, newtime, app.BUILDTIME)
} else {
app.BUILDTIME = anyString
- log.Printf("TIME initAppname() ERR=(%v) anyString=(%v) GetTime.BUILTIME=(%v) app.BUILDTIME=(%v)\n", err, anyString, BUILDTIME, app.BUILDTIME)
+ fmt.Printf("TIME initAppname() ERR=(%v) anyString=(%v) GetTime.BUILTIME=(%v) app.BUILDTIME=(%v)\n", err, anyString, BUILDTIME, app.BUILDTIME)
}
me.pb.AppInfo = app
}