version 1.13, 2001/01/07 11:28:04 |
version 1.14, 2001/01/18 16:20:21 |
|
|
#include "xmalloc.h" |
#include "xmalloc.h" |
#include "ssh.h" |
#include "ssh.h" |
|
|
static LogLevel log_level = SYSLOG_LEVEL_NOTICE; |
static LogLevel log_level = SYSLOG_LEVEL_INFO; |
|
|
/* Initialize the log. |
/* Initialize the log. |
* av0 program name (should be argv[0]) |
* av0 program name (should be argv[0]) |
|
|
case SYSLOG_LEVEL_QUIET: |
case SYSLOG_LEVEL_QUIET: |
case SYSLOG_LEVEL_FATAL: |
case SYSLOG_LEVEL_FATAL: |
case SYSLOG_LEVEL_ERROR: |
case SYSLOG_LEVEL_ERROR: |
case SYSLOG_LEVEL_NOTICE: |
case SYSLOG_LEVEL_INFO: |
case SYSLOG_LEVEL_VERBOSE: |
case SYSLOG_LEVEL_VERBOSE: |
case SYSLOG_LEVEL_DEBUG1: |
case SYSLOG_LEVEL_DEBUG1: |
case SYSLOG_LEVEL_DEBUG2: |
case SYSLOG_LEVEL_DEBUG2: |