Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report module #20

Open
pieterdp opened this issue Mar 22, 2017 · 2 comments
Open

Report module #20

pieterdp opened this issue Mar 22, 2017 · 2 comments
Assignees

Comments

@pieterdp
Copy link
Contributor

Currently, Datahub::Factory spews all its errors to STDERR/STDOUT. We would like to generate a log file (per run) where on every line we get the following information for every failed record:

identifier
error message
action (e.g. import failed, or conversion failed, or conversion failed, import succeeded)

This report/log file must be sent by e-mail to a configurable maintainer, but it must also be possible to switch off emailing alltogether.

@pieterdp pieterdp self-assigned this Mar 23, 2017
@pieterdp
Copy link
Contributor Author

See f59fab0: added support for configurable log levels and output.

@netsensei
Copy link
Contributor

Todo

  • Improve logging to a log file
  • Log should be able to mail a digest once the entire process has been completed
  • Log should be able to log to a database (mongo,...) for monitoring purposes.
  • Log data to elastic for Kibana support (https://www.elastic.co/products/kibana) (optional)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants