main config
merge error log