Commit 7bc9be0f authored by Stas Korobeynikov's avatar Stas Korobeynikov Committed by Pavel Vainerman

requested log level

parent b1b8ac2b
...@@ -83,6 +83,11 @@ ...@@ -83,6 +83,11 @@
#include "authfd.h" #include "authfd.h"
#include "pathnames.h" #include "pathnames.h"
#define PANIC
#define WARNING
#undef TEST
#undef DEBUG
/* -- channel core */ /* -- channel core */
/* /*
......
...@@ -113,6 +113,16 @@ ...@@ -113,6 +113,16 @@
#include "ssherr.h" #include "ssherr.h"
#include "hostfile.h" #include "hostfile.h"
/*
* Set here the requested log level.
*/
#define PANIC
#define WARNING
#undef TEST
#undef DEBUG
/* import options */ /* import options */
extern Options options; extern Options options;
......
...@@ -92,6 +92,11 @@ ...@@ -92,6 +92,11 @@
#define DBG(x) #define DBG(x)
#endif #endif
#define PANIC
#define WARNING
#undef TEST
#undef DEBUG
#define PACKET_MAX_SIZE (256 * 1024) #define PACKET_MAX_SIZE (256 * 1024)
struct packet_state { struct packet_state {
......
...@@ -115,6 +115,15 @@ ...@@ -115,6 +115,15 @@
#include "ssh-pkcs11.h" #include "ssh-pkcs11.h"
#endif #endif
/*
* Define TEST to get SYSLOG_LEVEL_DEBUG3.
*/
#define PANIC
#define WARNING
#undef TEST
#undef DEBUG
extern char *__progname; extern char *__progname;
/* Saves a copy of argv for setproctitle emulation */ /* Saves a copy of argv for setproctitle emulation */
......
...@@ -65,6 +65,11 @@ ...@@ -65,6 +65,11 @@
#include "ssherr.h" #include "ssherr.h"
#include "authfd.h" #include "authfd.h"
#define PANIC
#define WARNING
#undef TEST
#undef DEBUG
char *client_version_string = NULL; char *client_version_string = NULL;
char *server_version_string = NULL; char *server_version_string = NULL;
Key *previous_host_key = NULL; Key *previous_host_key = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment