summaryrefslogtreecommitdiff
path: root/src/nshd/hackers_git
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-09-12 09:29:41 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-09-12 09:29:41 -0600
commitf0302e1ac1a12711a9f49c3d7a62bcdfcaca7eed (patch)
tree1796becfcf6061c67c547faae9be6f269a868d88 /src/nshd/hackers_git
parentb190157b8c568922f7f9b4039b67a34862fa9f54 (diff)
Clean up log messages
Diffstat (limited to 'src/nshd/hackers_git')
-rw-r--r--src/nshd/hackers_git/hackers.go6
-rw-r--r--src/nshd/hackers_git/hackers_watch.go4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/nshd/hackers_git/hackers.go b/src/nshd/hackers_git/hackers.go
index f47868f..1eca0f6 100644
--- a/src/nshd/hackers_git/hackers.go
+++ b/src/nshd/hackers_git/hackers.go
@@ -42,21 +42,21 @@ var _ nslcd_proto.Backend = &Hackers{}
func (o *Hackers) Init() error {
err := o.Reload()
if err != nil {
- logger.Err("Could not initialize hackers.git: %v", err)
+ logger.Err("hackers.git: Could not initialize: %v", err)
return err
}
return nil
}
func (o *Hackers) Close() {
- logger.Info("Closing hackers.git session")
+ logger.Info("hackers.git: Closing session")
o.lock.Lock()
defer o.lock.Unlock()
o.close()
}
func (o *Hackers) Reload() error {
- logger.Info("Loading hackers.git session")
+ logger.Info("hackers.git: Loading session")
o.lock.Lock()
defer o.lock.Unlock()
diff --git a/src/nshd/hackers_git/hackers_watch.go b/src/nshd/hackers_git/hackers_watch.go
index 666237b..0fa45c9 100644
--- a/src/nshd/hackers_git/hackers_watch.go
+++ b/src/nshd/hackers_git/hackers_watch.go
@@ -220,14 +220,14 @@ Loop:
}()
}
} else {
- logger.Debug("hackers.git: event didn't match: %#v", event)
+ logger.Debug("hackers.git: Event didn't match: %#v", event)
}
}
case err, ok := <-o.in_fd.Errors:
if !ok {
break Loop
}
- logger.Warning("hackers.git: inotify error: %v", err)
+ logger.Warning("hackers.git: Inotify error: %v", err)
}
}
logger.Info("hackers.git: Stopped inotify watcher")