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 HeartBeat and ACKNACK messages and fix minor issues #14

Merged
merged 10 commits into from
Dec 19, 2016

Conversation

pleonex
Copy link
Contributor

@pleonex pleonex commented Dec 15, 2016

Note: This branch contains changes from the fix_guids branch. Please, don't review this PR until #10 is accepted and merged into master

I have improved the messages related to HeartBeat and ACK/NACK messages to be more descriptive and easy to read.

I have fixed to minor unrelated issues:

  • The --only and --highlight argument were not working.
  • There was an exception when piping the output of logparser into another program closing that program. The exception has been captured now.

Benito Palacios Sanchez added 9 commits December 11, 2016 13:16
The algorithm get the name of a entity GUID was returning
in some cases INVALID or the wrong entity ID. Sometimes,
two different entities were referred with the same name.
The messages are a little bit longer to explain the meaning
of the interval (samples in that interval).
I have also improved a regular expression to match more logs
and split a log into another function to add information.
@pleonex pleonex added this to the v1.2 milestone Dec 15, 2016
@pleonex pleonex self-assigned this Dec 15, 2016
@pleonex pleonex requested a review from iblancasa December 15, 2016 11:56
try:
print(text)
except IOError:
# It makes no sense to print the error since we already had
Copy link
Contributor

Choose a reason for hiding this comment

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

Are we printing where the exception is happening?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The exception happens in the native print operation because the pipe is closed.

@iblancasa iblancasa merged commit 76d327b into master Dec 19, 2016
@pleonex pleonex deleted the improve_hb_msg branch December 19, 2016 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants