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

Improve logging #245

Merged
merged 12 commits into from
Jul 26, 2023
Merged

Improve logging #245

merged 12 commits into from
Jul 26, 2023

Conversation

sandre1
Copy link
Contributor

@sandre1 sandre1 commented Jul 25, 2023

work in progress on migratus #240

  • add CLI interface to migratus (migratus.cli)
  • improve logging - add logs for the migratus create actions and others
  • expose an API functionality to list the migrations ID-s from the CLI

[1] I have implemented a --verbose CLI option to set the log level.

@yogthos
Copy link
Owner

yogthos commented Jul 25, 2023

Overall looks good, I think the only change I'd do would be to default to info when no log level is set.

@sandre1
Copy link
Contributor Author

sandre1 commented Jul 26, 2023

Also part of improve logging (sort of :) ) i've dealt with the error in case of no config file provided.

@yogthos
Copy link
Owner

yogthos commented Jul 26, 2023

I think I'm good to merge this in unless there's anything else you were thinking of adding.

@sandre1
Copy link
Contributor Author

sandre1 commented Jul 26, 2023

For now, is ok to merge. Thank you.
I will continue work on a new branch.

@ieugen ieugen merged commit 595a795 into yogthos:master Jul 26, 2023
@yogthos
Copy link
Owner

yogthos commented Jul 26, 2023

sounds like a plan, and let me know when you think is a good time for a release

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.

3 participants