modify error log to one file