new settings setting and conditional error logging