diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 1999-11-22 21:02:40 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 1999-11-22 21:02:40 +0000 |
commit | e635c41f03fe35686ec48598b5ff248c2485d8bb (patch) | |
tree | 8521120e30f644f5a56001e3b3d4bc47b97bdb40 /usr.bin/ssh/log-client.c | |
parent | 2632baae61bff755f455a90159bc81cffae148f0 (diff) |
syslog changes:
* Unified Logmessage for all auth-types, for success and for failed
* Standard connections get only ONE line in the LOG when level==LOG:
Auth-attempts are logged only, if authentication is:
a) successfull or
b) with passwd or
c) we had more than AUTH_FAIL_LOG failues
* many log() became verbose()
* old behaviour with level=VERBOSE
Diffstat (limited to 'usr.bin/ssh/log-client.c')
-rw-r--r-- | usr.bin/ssh/log-client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/log-client.c b/usr.bin/ssh/log-client.c index 92b47649a38..97e253062e7 100644 --- a/usr.bin/ssh/log-client.c +++ b/usr.bin/ssh/log-client.c @@ -15,7 +15,7 @@ This is a stripped down version of log-server.c. */ #include "includes.h" -RCSID("$Id: log-client.c,v 1.3 1999/11/10 23:36:44 markus Exp $"); +RCSID("$Id: log-client.c,v 1.4 1999/11/22 21:02:38 markus Exp $"); #include "xmalloc.h" #include "ssh.h" @@ -36,7 +36,7 @@ log_init(char *av0, LogLevel level, SyslogFacility ignored1, int ignored2) case SYSLOG_LEVEL_ERROR: case SYSLOG_LEVEL_FATAL: case SYSLOG_LEVEL_INFO: - case SYSLOG_LEVEL_CHAT: + case SYSLOG_LEVEL_VERBOSE: case SYSLOG_LEVEL_DEBUG: log_level = level; break; |