Added option to disable logs