diff options
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c index eb48449380..3fc183aec4 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -269,7 +269,16 @@ options_act(void) { start_daemon(options->DataDirectory); } if (!libevent_initialized) { + configure_libevent_logging(); event_init(); +#if defined(HAVE_EVENT_GET_VERSION) && defined(HAVE_EVENT_GET_METHOD) + /* Making this a NOTICE for now so we can link bugs to a libevent versions + * or methods better. */ + log_fn(LOG_NOTICE, "Initialized libevent version %s using method %s", + event_get_version(), event_get_method()); +#else + log_fn(LOG_NOTICE, "Initialized old libevent (version 1.0b or earlier)"); +#endif libevent_initialized = 1; } |