Use error level for main handler too.