Browse Source

Upgrade warning about missing interned string for sandbox

Nick Mathewson 11 years ago
parent
commit
739a52592b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/common/sandbox.c

+ 2 - 1
src/common/sandbox.c

@@ -883,7 +883,8 @@ sandbox_intern_string(const char *str)
     }
   }
 
-  log_info(LD_GENERAL, "(Sandbox) Parameter %s not found", str);
+  if (sandbox_active)
+    log_warn(LD_BUG, "No interned sandbox parameter found for %s", str);
   return str;
 }