#define LOGIN_LISTEN_FD 3
extern struct ioloop *ioloop;
-extern int verbose;
+extern int verbose, verbose_debug;
#endif
login_connection_destroy(conn);
} else {
conn->pid = rec.pid;
- if (verbose) {
+ if (verbose_debug) {
i_info("Login process %d sent handshake: PID %s",
conn->fd, dec2str(conn->pid));
}
{
struct login_connection *conn;
- if (verbose)
+ if (verbose_debug)
i_info("Login process %d connected", fd);
conn = i_new(struct login_connection, 1);
if (conn->fd == -1)
return;
- if (verbose)
+ if (verbose_debug)
i_info("Login process %d disconnected", conn->fd);
for (pos = &connections; *pos != NULL; pos = &(*pos)->next) {
#include <syslog.h>
struct ioloop *ioloop;
-int verbose = FALSE;
+int verbose = FALSE, verbose_debug = FALSE;
static struct io *io_listen;
lib_init_signals(sig_quit);
verbose = getenv("VERBOSE") != NULL;
+ verbose_debug = getenv("VERBOSE_DEBUG") != NULL;
mech_init();
userdb_init();