-
Notifications
You must be signed in to change notification settings - Fork 14
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
Logger cleanup and clarification #75
Conversation
I tested this with the pr suite against a baseline. The logging changed as expected and the baseline verification was successful. |
I also built the documentation locally and it looks as expected. |
There are a lot of loggers at play, so this change made them more readable when they always write to stdout.
Just renamed these older references, and changed the output in the docs as well.
This is the behavior we expect when checking to see if the step has a log filename later on, such as in `SphericalBaseStep`.
Oops - I had to rebase, but now it's ready for review :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks wonderful, just 2 small changes.
@xylar I fixed the formatting. |
Fix string formatting. Co-authored-by: Xylar Asay-Davis <xylarstorm@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! I ran cosine_bell
with these changes and all the logging details look like what we want.
This PR changes a few things concerning loggers. Some loggers in
run/serial.py
have been renamed for better code readability, indicating when they are logging to stdout vs an internal file. Thelog_filename
attribute inStep
has been explicitly set to None by default, as opposed to an empty string. And in general, some "compass" wording needed to be changed to "polaris".Checklist
Testing
comment in the PR documents testing used to verify the changes