Skip to content

Conversation

@QuanMPhm
Copy link
Contributor

Closes #266. As far as I could tell, there isn't a simple way to systematically set the logging level when running management commands to INFO. There probably is something I could come up with using Django logging configurations, or by creating a base management command class, but I think a more involved solution can be considered when our commands share more in common.

Also replaced deprecated `logger.warn()` with `logger.warning()`
@knikolla knikolla requested a review from jtriley December 2, 2025 16:39
@knikolla knikolla merged commit 7bc0fd4 into nerc-project:main Dec 4, 2025
4 checks passed
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.

Set logging level in management commands to INFO

2 participants