diff options
| author | Jeff Carr <[email protected]> | 2025-10-24 11:28:43 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-24 11:28:43 -0500 |
| commit | 88d0ce908c76d98a29ab5ffc3417248f951493fb (patch) | |
| tree | b50a0917f1a1d713fdb5addc6e65dd2842b98fe9 /init.go | |
| parent | 2b46985ae8def4ff5779fbc027a6ddbe7a1a6a8d (diff) | |
removing log from herev0.0.44
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 } |
