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

usability: check log levels and more detailed messages #614

Closed
aaronkaplan opened this issue Jul 25, 2016 · 3 comments
Closed

usability: check log levels and more detailed messages #614

aaronkaplan opened this issue Jul 25, 2016 · 3 comments
Assignees
Milestone

Comments

@aaronkaplan
Copy link
Member

aaronkaplan commented Jul 25, 2016

  • Please run the whole network of bots in each debug level and observe the log messages if they make sense.
  • Fix meaningless log messages.
  • If there is a log message, it needs to clearly indicate possible actions for users/admins to take.

Example of a message which basically says nothing:

maxmind-geoip-expert - WARNING - Empty message received.

in WARNING mode.

@aaronkaplan aaronkaplan added this to the Release v1.0 milestone Jul 25, 2016
@sebix
Copy link
Member

sebix commented Jul 26, 2016

Empty messages are invalid and should not happen. There's (probably?) a bug somewhere causing this. At least, empty messages are not created intentionally. That's why I have chosen warning level.

The same applies to reports without raw field. We can handle such messages (dropping), but nevertheless, it should not happen.

@aaronkaplan
Copy link
Member Author

On 26 Jul 2016, at 09:20, Sebastian [email protected] wrote:

Empty messages are invalid and should not happen. There's (probably?) a bug somewhere causing this. At least, empty messages are not created intentionally. That's why I have chosen warning level.

The same applies to reports without raw field. We can handle such messages (dropping), but nevertheless, it should not happen.

Sure, I agree.
But I guess my comment was more general. I simply noticed it in this case.
A message like this does not give the user any clue if anything is expected from the user. If we tell the use a warning message or error message, then there must be the option of some action IMHO.

It's more of a general usability issue I guess.

@sebix
Copy link
Member

sebix commented Jul 26, 2016

Conclusion: Log messages should be more verbose and explain the situation, e.g.:

Empty message received. Some previous bot sent invalid data.
Report without 'raw' data received and is ignored. Previous bot sent invalid data.

@sebix sebix changed the title usability: please check log levels usability: check log levels and more detailed messages Jul 26, 2016
@sebix sebix closed this as completed in d4dd349 Nov 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants