added folder to log  error messages