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

Logging reporting #11

Merged
merged 17 commits into from
Mar 9, 2021
Merged

Logging reporting #11

merged 17 commits into from
Mar 9, 2021

Conversation

erickmartins
Copy link
Collaborator

This pull request includes:

  • A fix for issue Import should stop immediately after failing to validate user/group #10 - we now throw a ValueError if user and/or group cannot be validated
  • Significant improvement on logging: user-side error (on spreadsheet mistakes, etc) are now logged on a time-stamped .log file placed in the dropbox folder. If a json file is generated and an import starts, the server-side folder that is created with the data and json file will also include a .out file (with all stdout output) and a .err file (with all stderr output), both time-stamped. This might be enough to solve need to mark an import target directory as complete #8
  • Empty imports do not throw an error any longer. An empty import event is logged in the log file but code goes through, skipping the import steps.

@mellertd mellertd merged commit 981b98b into master Mar 9, 2021
@mellertd mellertd deleted the logging-reporting branch March 9, 2021 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants