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

No logs logged unless there is error #689

Closed
Soso966 opened this issue Sep 18, 2024 · 1 comment
Closed

No logs logged unless there is error #689

Soso966 opened this issue Sep 18, 2024 · 1 comment

Comments

@Soso966
Copy link

Soso966 commented Sep 18, 2024

I noticed the logs only works if there is error, how we can extend it to log the logging during migrations?

@mmkal
Copy link
Contributor

mmkal commented Jan 8, 2025

You can pass a custom logger to the Umzug constructor. If you just pass a "dumb" logger like logger: console it will log every migration run etc.

@mmkal mmkal closed this as completed Jan 8, 2025
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

No branches or pull requests

2 participants