Flag denotes if logging to console is necessary

Maybe give some improvement in performance