Added checks to log settings