refactored log to be easier to read and output level above verbose 0