Skip to content

Conversation

@wlcrs
Copy link
Contributor

@wlcrs wlcrs commented Mar 10, 2023

As requested in #1324 (comment), this is a PR which removes the LOG_LEVEL class variable from the pymodbus.logging.Log class.

I added a test which demonstrates that Log.build_msg is still called as little as possible.

Copy link
Collaborator

@janiversen janiversen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks.

@janiversen janiversen merged commit d086ad2 into pymodbus-dev:dev Mar 10, 2023
@wlcrs wlcrs deleted the simplify_logging branch March 10, 2023 09:30
@jamesbraza
Copy link
Contributor

@wlcrs and @janiversen nice, I had wanted to do this but you actually did it! 🥳

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants