about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--miasm/analysis/binary.py2
-rw-r--r--miasm/analysis/cst_propag.py2
-rw-r--r--miasm/analysis/simplifier.py2
-rw-r--r--miasm/arch/aarch64/arch.py2
-rw-r--r--miasm/arch/aarch64/jit.py2
-rw-r--r--miasm/arch/arm/arch.py2
-rw-r--r--miasm/arch/arm/jit.py2
-rw-r--r--miasm/arch/mep/jit.py2
-rw-r--r--miasm/arch/mips32/arch.py2
-rw-r--r--miasm/arch/mips32/jit.py2
-rw-r--r--miasm/arch/msp430/arch.py2
-rw-r--r--miasm/arch/msp430/jit.py2
-rw-r--r--miasm/arch/ppc/arch.py2
-rw-r--r--miasm/arch/ppc/jit.py2
-rw-r--r--miasm/arch/x86/arch.py2
-rw-r--r--miasm/arch/x86/jit.py2
-rw-r--r--miasm/arch/x86/sem.py2
-rw-r--r--miasm/core/asmblock.py2
-rw-r--r--miasm/core/cpu.py2
-rw-r--r--miasm/core/types.py2
-rw-r--r--miasm/expression/expression_reduce.py2
-rw-r--r--miasm/expression/simplifications.py2
-rw-r--r--miasm/ir/analysis.py2
-rw-r--r--miasm/ir/symbexec.py2
-rw-r--r--miasm/ir/translators/smt2.py2
-rw-r--r--miasm/ir/translators/z3_ir.py2
-rw-r--r--miasm/jitter/jitload.py2
-rw-r--r--miasm/jitter/loader/elf.py2
-rw-r--r--miasm/jitter/loader/pe.py2
-rw-r--r--miasm/jitter/loader/utils.py2
-rw-r--r--miasm/loader/elf_init.py2
-rw-r--r--miasm/loader/pe.py2
-rw-r--r--miasm/loader/pe_init.py2
-rw-r--r--miasm/os_dep/linux/environment.py2
-rw-r--r--miasm/os_dep/linux/syscall.py2
-rw-r--r--miasm/os_dep/win_api_x86_32.py2
-rw-r--r--miasm/os_dep/win_api_x86_32_seh.py2
37 files changed, 37 insertions, 37 deletions
diff --git a/miasm/analysis/binary.py b/miasm/analysis/binary.py
index 66244822..36f3acb9 100644
--- a/miasm/analysis/binary.py
+++ b/miasm/analysis/binary.py
@@ -8,7 +8,7 @@ from miasm.core.locationdb import LocationDB
 
 log = logging.getLogger("binary")
 console_handler = logging.StreamHandler()
-console_handler.setFormatter(logging.Formatter("%(levelname)-5s: %(message)s"))
+console_handler.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(console_handler)
 log.setLevel(logging.ERROR)
 
diff --git a/miasm/analysis/cst_propag.py b/miasm/analysis/cst_propag.py
index d83c0458..4b040763 100644
--- a/miasm/analysis/cst_propag.py
+++ b/miasm/analysis/cst_propag.py
@@ -10,7 +10,7 @@ from miasm.ir.ir import IRBlock, AssignBlock
 
 LOG_CST_PROPAG = logging.getLogger("cst_propag")
 CONSOLE_HANDLER = logging.StreamHandler()
-CONSOLE_HANDLER.setFormatter(logging.Formatter("%(levelname)-5s: %(message)s"))
+CONSOLE_HANDLER.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 LOG_CST_PROPAG.addHandler(CONSOLE_HANDLER)
 LOG_CST_PROPAG.setLevel(logging.WARNING)
 
diff --git a/miasm/analysis/simplifier.py b/miasm/analysis/simplifier.py
index 870071c8..8c448991 100644
--- a/miasm/analysis/simplifier.py
+++ b/miasm/analysis/simplifier.py
@@ -16,7 +16,7 @@ from miasm.analysis.data_flow import dead_simp, \
 
 log = logging.getLogger("simplifier")
 console_handler = logging.StreamHandler()
-console_handler.setFormatter(logging.Formatter("%(levelname)-5s: %(message)s"))
+console_handler.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(console_handler)
 log.setLevel(logging.WARNING)
 
diff --git a/miasm/arch/aarch64/arch.py b/miasm/arch/aarch64/arch.py
index 33c1d427..10e94517 100644
--- a/miasm/arch/aarch64/arch.py
+++ b/miasm/arch/aarch64/arch.py
@@ -17,7 +17,7 @@ from miasm.core.asm_ast import AstInt, AstId, AstMem, AstOp
 
 log = logging.getLogger("aarch64dis")
 console_handler = logging.StreamHandler()
-console_handler.setFormatter(logging.Formatter("%(levelname)-5s: %(message)s"))
+console_handler.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(console_handler)
 log.setLevel(logging.DEBUG)
 
diff --git a/miasm/arch/aarch64/jit.py b/miasm/arch/aarch64/jit.py
index 0754f5be..e3ea77f7 100644
--- a/miasm/arch/aarch64/jit.py
+++ b/miasm/arch/aarch64/jit.py
@@ -8,7 +8,7 @@ from miasm.arch.aarch64.sem import ir_aarch64b, ir_aarch64l
 
 log = logging.getLogger('jit_aarch64')
 hnd = logging.StreamHandler()
-hnd.setFormatter(logging.Formatter("[%(levelname)s]: %(message)s"))
+hnd.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(hnd)
 log.setLevel(logging.CRITICAL)
 
diff --git a/miasm/arch/arm/arch.py b/miasm/arch/arm/arch.py
index 497d6d68..fc6a0527 100644
--- a/miasm/arch/arm/arch.py
+++ b/miasm/arch/arm/arch.py
@@ -17,7 +17,7 @@ from miasm.core.asm_ast import AstInt, AstId, AstMem, AstOp
 
 log = logging.getLogger("armdis")
 console_handler = logging.StreamHandler()
-console_handler.setFormatter(logging.Formatter("%(levelname)-5s: %(message)s"))
+console_handler.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(console_handler)
 log.setLevel(logging.DEBUG)
 
diff --git a/miasm/arch/arm/jit.py b/miasm/arch/arm/jit.py
index 6252862a..ee4e5c96 100644
--- a/miasm/arch/arm/jit.py
+++ b/miasm/arch/arm/jit.py
@@ -13,7 +13,7 @@ from miasm.expression.simplifications import expr_simp_high_to_explicit
 
 log = logging.getLogger('jit_arm')
 hnd = logging.StreamHandler()
-hnd.setFormatter(logging.Formatter("[%(levelname)s]: %(message)s"))
+hnd.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(hnd)
 log.setLevel(logging.CRITICAL)
 
diff --git a/miasm/arch/mep/jit.py b/miasm/arch/mep/jit.py
index 4470b344..08bf73db 100644
--- a/miasm/arch/mep/jit.py
+++ b/miasm/arch/mep/jit.py
@@ -13,7 +13,7 @@ import logging
 
 log = logging.getLogger("jit_mep")
 hnd = logging.StreamHandler()
-hnd.setFormatter(logging.Formatter("[%(levelname)s]: %(message)s"))
+hnd.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(hnd)
 log.setLevel(logging.CRITICAL)
 
diff --git a/miasm/arch/mips32/arch.py b/miasm/arch/mips32/arch.py
index 68841e1e..09ff0a24 100644
--- a/miasm/arch/mips32/arch.py
+++ b/miasm/arch/mips32/arch.py
@@ -14,7 +14,7 @@ from miasm.core.asm_ast import AstInt, AstId, AstMem, AstOp
 
 log = logging.getLogger("mips32dis")
 console_handler = logging.StreamHandler()
-console_handler.setFormatter(logging.Formatter("%(levelname)-5s: %(message)s"))
+console_handler.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(console_handler)
 log.setLevel(logging.DEBUG)
 
diff --git a/miasm/arch/mips32/jit.py b/miasm/arch/mips32/jit.py
index 5e8d13f6..7cbc258b 100644
--- a/miasm/arch/mips32/jit.py
+++ b/miasm/arch/mips32/jit.py
@@ -11,7 +11,7 @@ import miasm.expression.expression as m2_expr
 
 log = logging.getLogger('jit_mips32')
 hnd = logging.StreamHandler()
-hnd.setFormatter(logging.Formatter("[%(levelname)s]: %(message)s"))
+hnd.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(hnd)
 log.setLevel(logging.CRITICAL)
 
diff --git a/miasm/arch/msp430/arch.py b/miasm/arch/msp430/arch.py
index 65dd435e..a700b04a 100644
--- a/miasm/arch/msp430/arch.py
+++ b/miasm/arch/msp430/arch.py
@@ -14,7 +14,7 @@ from miasm.core.asm_ast import AstInt, AstId, AstMem, AstOp
 
 log = logging.getLogger("msp430dis")
 console_handler = logging.StreamHandler()
-console_handler.setFormatter(logging.Formatter("%(levelname)-5s: %(message)s"))
+console_handler.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(console_handler)
 log.setLevel(logging.DEBUG)
 
diff --git a/miasm/arch/msp430/jit.py b/miasm/arch/msp430/jit.py
index ea30922c..faf00434 100644
--- a/miasm/arch/msp430/jit.py
+++ b/miasm/arch/msp430/jit.py
@@ -7,7 +7,7 @@ import logging
 
 log = logging.getLogger('jit_msp430')
 hnd = logging.StreamHandler()
-hnd.setFormatter(logging.Formatter("[%(levelname)s]: %(message)s"))
+hnd.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(hnd)
 log.setLevel(logging.CRITICAL)
 
diff --git a/miasm/arch/ppc/arch.py b/miasm/arch/ppc/arch.py
index 8f700bff..29550931 100644
--- a/miasm/arch/ppc/arch.py
+++ b/miasm/arch/ppc/arch.py
@@ -12,7 +12,7 @@ from miasm.core.asm_ast import AstInt, AstId, AstMem, AstOp
 
 log = logging.getLogger("ppcdis")
 console_handler = logging.StreamHandler()
-console_handler.setFormatter(logging.Formatter("%(levelname)-5s: %(message)s"))
+console_handler.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(console_handler)
 log.setLevel(logging.DEBUG)
 
diff --git a/miasm/arch/ppc/jit.py b/miasm/arch/ppc/jit.py
index 1d7ae70c..92147b04 100644
--- a/miasm/arch/ppc/jit.py
+++ b/miasm/arch/ppc/jit.py
@@ -8,7 +8,7 @@ import logging
 
 log = logging.getLogger('jit_ppc')
 hnd = logging.StreamHandler()
-hnd.setFormatter(logging.Formatter("[%(levelname)s]: %(message)s"))
+hnd.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(hnd)
 log.setLevel(logging.CRITICAL)
 
diff --git a/miasm/arch/x86/arch.py b/miasm/arch/x86/arch.py
index 8a19ed61..33b41236 100644
--- a/miasm/arch/x86/arch.py
+++ b/miasm/arch/x86/arch.py
@@ -18,7 +18,7 @@ from miasm.core.asm_ast import AstNode, AstInt, AstId, AstMem, AstOp
 
 log = logging.getLogger("x86_arch")
 console_handler = logging.StreamHandler()
-console_handler.setFormatter(logging.Formatter("%(levelname)-5s: %(message)s"))
+console_handler.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(console_handler)
 log.setLevel(logging.WARN)
 
diff --git a/miasm/arch/x86/jit.py b/miasm/arch/x86/jit.py
index 2d1e45c3..8ecab5fa 100644
--- a/miasm/arch/x86/jit.py
+++ b/miasm/arch/x86/jit.py
@@ -9,7 +9,7 @@ from miasm.ir.translators.C import TranslatorC
 
 log = logging.getLogger('jit_x86')
 hnd = logging.StreamHandler()
-hnd.setFormatter(logging.Formatter("[%(levelname)s]: %(message)s"))
+hnd.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(hnd)
 log.setLevel(logging.CRITICAL)
 
diff --git a/miasm/arch/x86/sem.py b/miasm/arch/x86/sem.py
index 69e412b9..cf3539e2 100644
--- a/miasm/arch/x86/sem.py
+++ b/miasm/arch/x86/sem.py
@@ -35,7 +35,7 @@ import struct
 
 LOG_X86_SEM = logging.getLogger("x86_sem")
 CONSOLE_HANDLER = logging.StreamHandler()
-CONSOLE_HANDLER.setFormatter(logging.Formatter("%(levelname)-5s: %(message)s"))
+CONSOLE_HANDLER.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 LOG_X86_SEM.addHandler(CONSOLE_HANDLER)
 LOG_X86_SEM.setLevel(logging.WARNING)
 
diff --git a/miasm/core/asmblock.py b/miasm/core/asmblock.py
index a92e5bf9..8f47947f 100644
--- a/miasm/core/asmblock.py
+++ b/miasm/core/asmblock.py
@@ -21,7 +21,7 @@ from miasm.core.locationdb import LocationDB
 
 log_asmblock = logging.getLogger("asmblock")
 console_handler = logging.StreamHandler()
-console_handler.setFormatter(logging.Formatter("%(levelname)-5s: %(message)s"))
+console_handler.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log_asmblock.addHandler(console_handler)
 log_asmblock.setLevel(logging.WARNING)
 
diff --git a/miasm/core/cpu.py b/miasm/core/cpu.py
index 425f3aff..3dc7bd68 100644
--- a/miasm/core/cpu.py
+++ b/miasm/core/cpu.py
@@ -24,7 +24,7 @@ from future.utils import with_metaclass
 
 log = logging.getLogger("cpuhelper")
 console_handler = logging.StreamHandler()
-console_handler.setFormatter(logging.Formatter("%(levelname)-5s: %(message)s"))
+console_handler.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(console_handler)
 log.setLevel(logging.WARN)
 
diff --git a/miasm/core/types.py b/miasm/core/types.py
index 971b1f98..466d136d 100644
--- a/miasm/core/types.py
+++ b/miasm/core/types.py
@@ -112,7 +112,7 @@ from future.utils import viewitems, with_metaclass
 
 log = logging.getLogger(__name__)
 console_handler = logging.StreamHandler()
-console_handler.setFormatter(logging.Formatter("%(levelname)-5s: %(message)s"))
+console_handler.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(console_handler)
 log.setLevel(logging.WARN)
 
diff --git a/miasm/expression/expression_reduce.py b/miasm/expression/expression_reduce.py
index 64d90956..41891a09 100644
--- a/miasm/expression/expression_reduce.py
+++ b/miasm/expression/expression_reduce.py
@@ -9,7 +9,7 @@ from miasm.expression.expression import ExprInt, ExprId, ExprLoc, ExprOp, \
 
 log_reduce = logging.getLogger("expr_reduce")
 console_handler = logging.StreamHandler()
-console_handler.setFormatter(logging.Formatter("%(levelname)-5s: %(message)s"))
+console_handler.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log_reduce.addHandler(console_handler)
 log_reduce.setLevel(logging.WARNING)
 
diff --git a/miasm/expression/simplifications.py b/miasm/expression/simplifications.py
index 8f63ab91..1d64456f 100644
--- a/miasm/expression/simplifications.py
+++ b/miasm/expression/simplifications.py
@@ -17,7 +17,7 @@ import miasm.expression.expression as m2_expr
 
 log_exprsimp = logging.getLogger("exprsimp")
 console_handler = logging.StreamHandler()
-console_handler.setFormatter(logging.Formatter("%(levelname)-5s: %(message)s"))
+console_handler.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log_exprsimp.addHandler(console_handler)
 log_exprsimp.setLevel(logging.WARNING)
 
diff --git a/miasm/ir/analysis.py b/miasm/ir/analysis.py
index 67df793e..774e66f7 100644
--- a/miasm/ir/analysis.py
+++ b/miasm/ir/analysis.py
@@ -10,7 +10,7 @@ from miasm.analysis.data_flow import dead_simp as new_dead_simp_imp
 
 log = logging.getLogger("analysis")
 console_handler = logging.StreamHandler()
-console_handler.setFormatter(logging.Formatter("%(levelname)-5s: %(message)s"))
+console_handler.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(console_handler)
 log.setLevel(logging.WARNING)
 
diff --git a/miasm/ir/symbexec.py b/miasm/ir/symbexec.py
index f9671f70..943c8b03 100644
--- a/miasm/ir/symbexec.py
+++ b/miasm/ir/symbexec.py
@@ -12,7 +12,7 @@ from miasm.ir.ir import AssignBlock
 
 log = logging.getLogger("symbexec")
 console_handler = logging.StreamHandler()
-console_handler.setFormatter(logging.Formatter("%(levelname)-5s: %(message)s"))
+console_handler.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(console_handler)
 log.setLevel(logging.INFO)
 
diff --git a/miasm/ir/translators/smt2.py b/miasm/ir/translators/smt2.py
index 61a4962f..f5392da7 100644
--- a/miasm/ir/translators/smt2.py
+++ b/miasm/ir/translators/smt2.py
@@ -7,7 +7,7 @@ from miasm.expression.smt2_helper import *
 
 log = logging.getLogger("translator_smt2")
 console_handler = logging.StreamHandler()
-console_handler.setFormatter(logging.Formatter("%(levelname)-5s: %(message)s"))
+console_handler.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(console_handler)
 log.setLevel(logging.WARNING)
 
diff --git a/miasm/ir/translators/z3_ir.py b/miasm/ir/translators/z3_ir.py
index 7dc77cfc..3452f162 100644
--- a/miasm/ir/translators/z3_ir.py
+++ b/miasm/ir/translators/z3_ir.py
@@ -10,7 +10,7 @@ from miasm.ir.translators.translator import Translator
 
 log = logging.getLogger("translator_z3")
 console_handler = logging.StreamHandler()
-console_handler.setFormatter(logging.Formatter("%(levelname)-5s: %(message)s"))
+console_handler.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(console_handler)
 log.setLevel(logging.WARNING)
 
diff --git a/miasm/jitter/jitload.py b/miasm/jitter/jitload.py
index 017dbde3..68f9c40d 100644
--- a/miasm/jitter/jitload.py
+++ b/miasm/jitter/jitload.py
@@ -13,7 +13,7 @@ from miasm.jitter.codegen import CGen
 from miasm.jitter.jitcore_cc_base import JitCore_Cc_Base
 
 hnd = logging.StreamHandler()
-hnd.setFormatter(logging.Formatter("[%(levelname)s]: %(message)s"))
+hnd.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log = logging.getLogger('jitload.py')
 log.addHandler(hnd)
 log.setLevel(logging.CRITICAL)
diff --git a/miasm/jitter/loader/elf.py b/miasm/jitter/loader/elf.py
index 65d96001..cb102c47 100644
--- a/miasm/jitter/loader/elf.py
+++ b/miasm/jitter/loader/elf.py
@@ -16,7 +16,7 @@ import logging
 
 log = logging.getLogger('loader_elf')
 hnd = logging.StreamHandler()
-hnd.setFormatter(logging.Formatter("[%(levelname)s]: %(message)s"))
+hnd.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(hnd)
 log.setLevel(logging.CRITICAL)
 
diff --git a/miasm/jitter/loader/pe.py b/miasm/jitter/loader/pe.py
index 02558e6c..0171985a 100644
--- a/miasm/jitter/loader/pe.py
+++ b/miasm/jitter/loader/pe.py
@@ -16,7 +16,7 @@ from miasm.core.utils import force_str
 
 log = logging.getLogger('loader_pe')
 hnd = logging.StreamHandler()
-hnd.setFormatter(logging.Formatter("[%(levelname)s]: %(message)s"))
+hnd.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(hnd)
 log.setLevel(logging.INFO)
 
diff --git a/miasm/jitter/loader/utils.py b/miasm/jitter/loader/utils.py
index fbe38792..73809141 100644
--- a/miasm/jitter/loader/utils.py
+++ b/miasm/jitter/loader/utils.py
@@ -6,7 +6,7 @@ from past.builtins import basestring
 
 log = logging.getLogger('loader_common')
 hnd = logging.StreamHandler()
-hnd.setFormatter(logging.Formatter("[%(levelname)s]: %(message)s"))
+hnd.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(hnd)
 log.setLevel(logging.INFO)
 
diff --git a/miasm/loader/elf_init.py b/miasm/loader/elf_init.py
index 786d030b..14f4dc7c 100644
--- a/miasm/loader/elf_init.py
+++ b/miasm/loader/elf_init.py
@@ -14,7 +14,7 @@ from miasm.loader.strpatchwork import StrPatchwork
 
 log = logging.getLogger("elfparse")
 console_handler = logging.StreamHandler()
-console_handler.setFormatter(logging.Formatter("%(levelname)-5s: %(message)s"))
+console_handler.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(console_handler)
 log.setLevel(logging.WARN)
 
diff --git a/miasm/loader/pe.py b/miasm/loader/pe.py
index 96009ccf..f6b56a3c 100644
--- a/miasm/loader/pe.py
+++ b/miasm/loader/pe.py
@@ -15,7 +15,7 @@ from miasm.loader.strpatchwork import StrPatchwork
 
 log = logging.getLogger("pepy")
 console_handler = logging.StreamHandler()
-console_handler.setFormatter(logging.Formatter("%(levelname)-5s: %(message)s"))
+console_handler.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(console_handler)
 log.setLevel(logging.WARN)
 
diff --git a/miasm/loader/pe_init.py b/miasm/loader/pe_init.py
index f5baa9a5..1d179efb 100644
--- a/miasm/loader/pe_init.py
+++ b/miasm/loader/pe_init.py
@@ -16,7 +16,7 @@ from miasm.loader.strpatchwork import StrPatchwork
 
 log = logging.getLogger("peparse")
 console_handler = logging.StreamHandler()
-console_handler.setFormatter(logging.Formatter("%(levelname)-5s: %(message)s"))
+console_handler.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(console_handler)
 log.setLevel(logging.WARN)
 
diff --git a/miasm/os_dep/linux/environment.py b/miasm/os_dep/linux/environment.py
index 42e45dd3..4d24e85a 100644
--- a/miasm/os_dep/linux/environment.py
+++ b/miasm/os_dep/linux/environment.py
@@ -27,7 +27,7 @@ StatFSInfo = namedtuple("StatFSInfo", [
 
 log = logging.getLogger("environment")
 console_handler = logging.StreamHandler()
-console_handler.setFormatter(logging.Formatter("%(levelname)-5s: %(message)s"))
+console_handler.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(console_handler)
 log.setLevel(logging.WARNING)
 
diff --git a/miasm/os_dep/linux/syscall.py b/miasm/os_dep/linux/syscall.py
index 01b1687c..ca631fc8 100644
--- a/miasm/os_dep/linux/syscall.py
+++ b/miasm/os_dep/linux/syscall.py
@@ -10,7 +10,7 @@ from miasm.core.utils import pck64
 
 log = logging.getLogger('syscalls')
 hnd = logging.StreamHandler()
-hnd.setFormatter(logging.Formatter("[%(levelname)s]: %(message)s"))
+hnd.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(hnd)
 log.setLevel(logging.WARNING)
 
diff --git a/miasm/os_dep/win_api_x86_32.py b/miasm/os_dep/win_api_x86_32.py
index 5d678997..84656af2 100644
--- a/miasm/os_dep/win_api_x86_32.py
+++ b/miasm/os_dep/win_api_x86_32.py
@@ -46,7 +46,7 @@ from miasm.os_dep.win_api_x86_32_seh import tib_address
 
 log = logging.getLogger("win_api_x86_32")
 console_handler = logging.StreamHandler()
-console_handler.setFormatter(logging.Formatter("%(levelname)-5s: %(message)s"))
+console_handler.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(console_handler)
 log.setLevel(logging.WARN)
 
diff --git a/miasm/os_dep/win_api_x86_32_seh.py b/miasm/os_dep/win_api_x86_32_seh.py
index 1d0d875c..28699d68 100644
--- a/miasm/os_dep/win_api_x86_32_seh.py
+++ b/miasm/os_dep/win_api_x86_32_seh.py
@@ -44,7 +44,7 @@ EXCEPTION_ILLEGAL_INSTRUCTION = 0xc000001d
 
 log = logging.getLogger("seh_helper")
 console_handler = logging.StreamHandler()
-console_handler.setFormatter(logging.Formatter("%(levelname)-5s: %(message)s"))
+console_handler.setFormatter(logging.Formatter("[%(levelname)-8s]: %(message)s"))
 log.addHandler(console_handler)
 log.setLevel(logging.INFO)