diff options
Diffstat (limited to 'src/nshd/hackers_git/hackers_parse.go')
-rw-r--r-- | src/nshd/hackers_git/hackers_parse.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nshd/hackers_git/hackers_parse.go b/src/nshd/hackers_git/hackers_parse.go index 14140da..f1f360f 100644 --- a/src/nshd/hackers_git/hackers_parse.go +++ b/src/nshd/hackers_git/hackers_parse.go @@ -111,12 +111,12 @@ func load_user_password(filename string) (hash string) { hash = "!" file, err := os.Open(filename) if err != nil { - logger.Info("Could not open: %q: %v", filename, err) + logger.Debug("hackers.git: %v", err) return } contents, err := ioutil.ReadAll(file) if err != nil { - logger.Info("Error while reading: %q: %v", filename, err) + logger.Debug("hackers.git: Error while reading: %q: %v", filename, err) return } lines := strings.Split(string(contents), "\n") @@ -127,10 +127,10 @@ func load_user_password(filename string) (hash string) { if lines[1] == "" { hash = lines[0] } else { - logger.Info("Invalid password format in file: %q", filename) + logger.Debug("hackers.git: Invalid password format in file: %q", filename) } default: - logger.Info("Invalid password format in file: %q", filename) + logger.Debug("hackers.git: Invalid password format in file: %q", filename) } return } |