Adding ability to disable outputing logs