replacing global logger to nop logger by default to avoid overhead