diff options
Diffstat (limited to 'init.go')
| -rw-r--r-- | init.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 } |
