Change log specification
Add error log
Add file logging