aboutsummaryrefslogtreecommitdiff
path: root/src/tools/tor-resolve.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/tor-resolve.c')
-rw-r--r--src/tools/tor-resolve.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/tor-resolve.c b/src/tools/tor-resolve.c
index d06e218873..23c1bf005e 100644
--- a/src/tools/tor-resolve.c
+++ b/src/tools/tor-resolve.c
@@ -278,6 +278,8 @@ main(int argc, char **argv)
char *result_hostname = NULL;
char buf[INET_NTOA_BUF_LEN];
+ init_logging();
+
arg = &argv[1];
n_args = argc-1;