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
Allow configuring logging directory through environment variables #460
Allow configuring logging directory through environment variables #460
Conversation
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
3eae739
to
bfdcc71
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
Switched to |
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
CI from ros2/rcl_logging#53 including that PR and this one: |
This one looks ready to go :) |
Thanks for the contribution @christophebedard ! |
Will this PR be merged into Foxy? |
Looks like a safe backport. @ivanpauno would you mind? |
If we backport this one, we should also backport ros2/rcl_logging#53 for consistency. @tgreier feel free to open PRs proposing the addition to Foxy. |
Bumping to Foxy patch release 5, since no one has gotten to this yet. |
Signed-off-by: tgreier <tgreier@moog.com>
…s2#460) Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
…) (#477) Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com> Co-authored-by: Christophe Bedard <bedard.christophe@gmail.com>
This allows configuring the logging directory through environment variables using the following logic:
Includes a test.
Perhaps this logic should be moved to
launch_ros
in the future.Relates to ros2/rcl_logging#50
See also ros2/rcl_logging#53