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

Change evaluate.py to log to module logger instead of root logger #194

Closed
coleslaw481 opened this issue Aug 20, 2018 · 1 comment
Closed
Assignees
Milestone

Comments

@coleslaw481
Copy link
Contributor

evaluate.py was using logging to log messages. This is incorrect, modify the code to call logging.getlogger(__name__) to get a logger for the module.

@coleslaw481 coleslaw481 added this to the 1.11.0 milestone Aug 20, 2018
@coleslaw481 coleslaw481 self-assigned this Aug 20, 2018
coleslaw481 added a commit that referenced this issue Aug 20, 2018
@coleslaw481
Copy link
Contributor Author

added logger = logging.getLogger('d3r.evaluate') at top of evaluate.py and changed all log calls in file to use logger object.

@coleslaw481 coleslaw481 changed the title Change evalute.py to log to module logger instead of root logger Change evaluate.py to log to module logger instead of root logger Aug 28, 2018
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

1 participant