Added option to disable logs. Disabled by default.