[tor-commits] [tor/master] Add a sighandler-safe logging mechanism