]> granicus.if.org Git - libevent/commitdiff
regress_main: logging all if env EVENT_DEBUG_LOGGING_ALL isset
authorAzat Khuzhin <a3at.mail@gmail.com>
Tue, 1 Oct 2013 15:54:57 +0000 (19:54 +0400)
committerAzat Khuzhin <a3at.mail@gmail.com>
Tue, 1 Oct 2013 16:22:27 +0000 (20:22 +0400)
test/regress_main.c

index c1b50eaea785b86204bc7148d62536d020580026..58cbe5fe2741f858b9cf5ea0d4498029cdaf3ef8 100644 (file)
@@ -446,6 +446,9 @@ main(int argc, const char **argv)
                event_enable_debug_mode();
                libevent_tests_running_in_debug_mode = 1;
        }
+       if (getenv("EVENT_DEBUG_LOGGING_ALL")) {
+               event_enable_debug_logging(EVENT_DBG_ALL);
+       }
 
        tinytest_set_aliases(testaliases);