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

init.d-posix: re-use rc.logging #11790

Merged
merged 2 commits into from
Apr 5, 2019
Merged

init.d-posix: re-use rc.logging #11790

merged 2 commits into from
Apr 5, 2019

Conversation

julianoes
Copy link
Contributor

With this change the param SDLOG_MODE can be used for SITL as well.

Fixes #11774

The only caveat with this change is that we see this on startup, @bkueng any idea what to do about it?

ERROR [param] Parameter UAVCAN_ENABLE not found

With this change the param SDLOG_MODE can be used for SITL as well.
@julianoes julianoes requested a review from bkueng April 4, 2019 08:44
bkueng
bkueng previously approved these changes Apr 4, 2019
Copy link
Member

@bkueng bkueng left a comment

Choose a reason for hiding this comment

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

Thank you

@bkueng
Copy link
Member

bkueng commented Apr 4, 2019

The only caveat with this change is that we see this on startup, @bkueng any idea what to do about it?

Right, we have it for others as well, like SYS_USE_IO. Maybe change the log level to info?

@julianoes
Copy link
Contributor Author

Right, we have it for others as well, like SYS_USE_IO

Let me check how it's done.

This prevents a warning message being printed to SITL users because the
UAVCAN_ENABLE param does not exist.
@bkueng bkueng merged commit 98857b4 into master Apr 5, 2019
@bkueng bkueng deleted the pr-respect-sdlog-sitl-params branch April 5, 2019 06:18
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.

2 participants