Sfoglia il codice sorgente

inform the user that you noticed when he sent a USR2

svn:r2992
Roger Dingledine 21 anni fa
parent
commit
a7f92d7ffe
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/or/main.c

+ 1 - 0
src/or/main.c

@@ -845,6 +845,7 @@ static int do_main_loop(void) {
     }
     if (please_debug) {
       switch_logs_debug();
+      log(LOG_DEBUG,"Caught USR2. Going to loglevel debug.");
       please_debug = 0;
     }
     if (please_reset) {