Add log report component

Build a log report component, to receive and store the relevant errors.