summaryrefslogtreecommitdiff
path: root/src/nshd/hackers_git
diff options
context:
space:
mode:
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")