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

Shorter default console output format #72

Merged
merged 3 commits into from
Nov 16, 2017
Merged

Conversation

dhood
Copy link
Member

@dhood dhood commented Nov 16, 2017

Just severity, name and message.

The reasoning is that most of the time our demo output is too verbose. If someone is debugging something specific, they can see the caller location information by setting the RCUTILS_CONSOLE_OUTPUT_FORMAT environment variable to e.g. "[{severity}] [{name}]: {message} ({function_name}() at {file_name}:{line_number})" (it can't currently be changed at runtime).

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@dhood dhood added the in review Waiting for review (Kanban column) label Nov 16, 2017
@dhood dhood self-assigned this Nov 16, 2017
Copy link
Member

@dirk-thomas dirk-thomas left a comment

Choose a reason for hiding this comment

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

Sounds good to me now that we have the environment variable to customize it. Is this env var already mentioned in the wiki somewhere? If not, it might be good to add.

Copy link
Member

@mikaelarguedas mikaelarguedas left a comment

Choose a reason for hiding this comment

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

Glad we can finally make these less verbose.
👍 For documenting it on the wiki

@dhood
Copy link
Member Author

dhood commented Nov 16, 2017

This adds it to the doxygen docs but no wiki page just yet, but it is planned further down the line for ros2/ros2#425

@dhood dhood merged commit 77a7e9e into master Nov 16, 2017
@dhood dhood deleted the shorter_default_format branch November 16, 2017 21:25
@dhood dhood removed the in review Waiting for review (Kanban column) label Nov 16, 2017
@dhood
Copy link
Member Author

dhood commented Nov 16, 2017

ok I probably should have waited for CI to finish there 😨 but I'll followup if CI tests end up failing on other platforms

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