about summary refs log tree commit diff stats
path: root/miasm2/analysis/sandbox.py
diff options
context:
space:
mode:
authorPierre LALET <pierre.lalet@cea.fr>2015-02-16 19:00:59 +0100
committerPierre LALET <pierre.lalet@cea.fr>2015-02-17 12:50:05 +0100
commit0c4dde0602f79fcfbd75b2c6e0a01bbfd1371126 (patch)
treed81dade687e89fd19f46293219f3e315d6599498 /miasm2/analysis/sandbox.py
parent773a0e9a43163d84a619496863c3136e63eafc16 (diff)
downloadmiasm-0c4dde0602f79fcfbd75b2c6e0a01bbfd1371126.tar.gz
miasm-0c4dde0602f79fcfbd75b2c6e0a01bbfd1371126.zip
Use wrapper `named_arguments` to log function calls
Diffstat (limited to 'miasm2/analysis/sandbox.py')
-rw-r--r--miasm2/analysis/sandbox.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/analysis/sandbox.py b/miasm2/analysis/sandbox.py
index 6731929d..310b2ef0 100644
--- a/miasm2/analysis/sandbox.py
+++ b/miasm2/analysis/sandbox.py
@@ -5,7 +5,7 @@ from miasm2.analysis.machine import Machine
 from miasm2.os_dep import win_api_x86_32_seh
 from miasm2.jitter.csts import PAGE_READ, PAGE_WRITE
 from miasm2.analysis import debugging
-
+from miasm2.jitter.jitload import log_func
 
 class Sandbox(object):
     """
@@ -56,7 +56,7 @@ class Sandbox(object):
             self.jitter.jit.log_regs = True
 
         if not self.options.quiet_function_calls:
-            self.machine.log_jit.setLevel(logging.DEBUG)
+            log_func.setLevel(logging.INFO)
 
         if self.options.dumpblocs:
             self.jitter.jit.log_newbloc = True