• Show log

    Commit

  • Hash : b2f2be6e
    Author : Nick Mathewson
    Date : 2010-03-10T16:25:16

    Make evdns use the regular logging system by default
    
    Once, for reasons that made sense at the time, we had evdns.c use its
    own logging subsystem with two levels, "warn" and "debug".  This leads
    to problems, since setting a log handler for Libevent wouldn't actually
    trap these messages, since they weren't on by default, and since some of
    the warns should really be msgs.
    
    This patch changes the default behavior of evdns.c to log to
    event_(debugx,warnx,msgx) by default, and adds a new (internal-use-only)
    log level of EVDNS_LOG_MSG.  Programs that set a evdns logging
    function will see no change.  Programs that don't will now see evdns
    warnings reported like other warnings.