add errorlog support