diff options
| author | Kozlov Dmitry <dima@server> | 2010-11-29 17:45:58 +0300 |
|---|---|---|
| committer | Kozlov Dmitry <dima@server> | 2010-11-29 17:45:58 +0300 |
| commit | f96198bf149203e1ddca8f2c381cf4b9849cdda9 (patch) | |
| tree | f4b4c10a7b489f693ecb6301d1584de22e4e90a5 /accel-pptpd/cli | |
| parent | 3a293aabc6e43319761a1f3020559873aa714334 (diff) | |
| download | accel-ppp-f96198bf149203e1ddca8f2c381cf4b9849cdda9.tar.gz accel-ppp-f96198bf149203e1ddca8f2c381cf4b9849cdda9.zip | |
log: introduced additional log level (3) which shows only minimum of information messages
Diffstat (limited to 'accel-pptpd/cli')
| -rw-r--r-- | accel-pptpd/cli/tcp.c | 2 | ||||
| -rw-r--r-- | accel-pptpd/cli/telnet.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/accel-pptpd/cli/tcp.c b/accel-pptpd/cli/tcp.c index f6d2011..405c389 100644 --- a/accel-pptpd/cli/tcp.c +++ b/accel-pptpd/cli/tcp.c @@ -236,7 +236,7 @@ static int serv_read(struct triton_md_handler_t *h) continue; } - log_info("cli: tcp: new connection from %s\n", inet_ntoa(addr.sin_addr)); + log_info2("cli: tcp: new connection from %s\n", inet_ntoa(addr.sin_addr)); if (fcntl(sock, F_SETFL, O_NONBLOCK)) { log_error("cli: tcp: failed to set nonblocking mode: %s, closing connection...\n", strerror(errno)); diff --git a/accel-pptpd/cli/telnet.c b/accel-pptpd/cli/telnet.c index c7a3c7a..a4cee6b 100644 --- a/accel-pptpd/cli/telnet.c +++ b/accel-pptpd/cli/telnet.c @@ -510,7 +510,7 @@ static int serv_read(struct triton_md_handler_t *h) continue; } - log_info("cli: telnet: new connection from %s\n", inet_ntoa(addr.sin_addr)); + log_info2("cli: telnet: new connection from %s\n", inet_ntoa(addr.sin_addr)); if (fcntl(sock, F_SETFL, O_NONBLOCK)) { log_error("cli: telnet: failed to set nonblocking mode: %s, closing connection...\n", strerror(errno)); |
