I changed the audit-logger.js file to just be logger.js and handle the error log as well as the access log. This should cover the errors.
For the reports, I am pretty sure that the mongo error object that is returned will have some useful info; however, I don't think that I can get details about the reports if it's throwing an error when trying to get them.
This PR resolves #7.
I changed the
audit-logger.js
file to just belogger.js
and handle the error log as well as the access log. This should cover the errors.For the reports, I am pretty sure that the mongo error object that is returned will have some useful info; however, I don't think that I can get details about the reports if it's throwing an error when trying to get them.