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

Improve logging #2437

Merged
merged 3 commits into from
Oct 19, 2017
Merged

Improve logging #2437

merged 3 commits into from
Oct 19, 2017

Conversation

matthewrmshin
Copy link
Contributor

Avoid sending items to OUT from a running suite.

Ensure that the verbosity level makes sense for ERR. (E.g. ERR.debug never actually did anything before!)

@matthewrmshin matthewrmshin added this to the next release milestone Sep 29, 2017
@matthewrmshin matthewrmshin self-assigned this Sep 29, 2017
Copy link
Member

@hjoliver hjoliver left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@@ -1308,8 +1313,8 @@ def run(self):
self.suite_db_mgr.put_task_pool(self.pool)
self.update_state_summary() # Will reset cylc.flags.iflag

# Process queued operations for each task proxy
self.process_queued_task_operations()
# Process suite DB queue
Copy link
Member

Choose a reason for hiding this comment

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

An unnecessary comment, given the name of the method on next line!

@matthewrmshin
Copy link
Contributor Author

Pointless comment removed. Branch rebased.

@oliver-sanders
Copy link
Member

There are three unused from cylc.suite_logging import OUT statements past that looks good.

Avoid sending items to OUT from a running suite.
Ensure that the verbosity level makes sense for ERR.
@matthewrmshin
Copy link
Contributor Author

Removed unused OUT imports.

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.

3 participants