diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-09-12 09:29:41 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-09-12 09:29:41 -0600 |
commit | f0302e1ac1a12711a9f49c3d7a62bcdfcaca7eed (patch) | |
tree | 1796becfcf6061c67c547faae9be6f269a868d88 /src/nshd/hackers_git | |
parent | b190157b8c568922f7f9b4039b67a34862fa9f54 (diff) |
Clean up log messages
Diffstat (limited to 'src/nshd/hackers_git')
-rw-r--r-- | src/nshd/hackers_git/hackers.go | 6 | ||||
-rw-r--r-- | src/nshd/hackers_git/hackers_watch.go | 4 |
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") |