diff options
| author | Jeff Carr <[email protected]> | 2024-01-06 11:12:10 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-06 11:12:10 -0600 |
| commit | b7c90c8bbccb5eb15a06bc6a370074c756d698ff (patch) | |
| tree | c8c5a241bd0a1b15423bfbd41a8b5b0f2943e86e /linuxstatus/linuxloop.go | |
| parent | f35ad0837bae88d260e896886033320b64c2772e (diff) | |
stepping through init on a window with state
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'linuxstatus/linuxloop.go')
| -rw-r--r-- | linuxstatus/linuxloop.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linuxstatus/linuxloop.go b/linuxstatus/linuxloop.go index fbbe653..1981aa2 100644 --- a/linuxstatus/linuxloop.go +++ b/linuxstatus/linuxloop.go @@ -15,7 +15,7 @@ import ( func linuxLoop() { me.changed = false duration := timeFunction(getHostname) - log.Info("getHostname() execution Time: ", duration, "me.changed =", me.changed) + log.Log(INFO, "getHostname() execution Time: ", duration, "me.changed =", me.changed) duration = timeFunction(scanInterfaces) log.Log(NET, "scanInterfaces() execution Time: ", duration) @@ -33,7 +33,7 @@ func linuxLoop() { // me.IPv6.SetText(all) user, _ := user.Current() - log.Println("os.Getuid =", user.Username, os.Getuid()) + log.Log(INFO, "os.Getuid =", user.Username, os.Getuid()) if (me.uid != nil) { me.uid.Set(user.Username + " (" + strconv.Itoa(os.Getuid()) + ")") } |
