added option to set error reporting level