Add errlog support.