Skip to content

Ensure logging is initialized only once - #518

Merged
ivanpauno merged 4 commits into
masterfrom
ivanpauno/move-logging-configure-fini-to-upper-layer
Apr 23, 2020
Merged

ivanpauno merged 4 commits into
masterfrom
ivanpauno/move-logging-configure-fini-to-upper-layer

Conversation

@ivanpauno

Copy link
Copy Markdown
Member

Connects to ros2/rcl#579.
Connects to ros2/rclcpp#998.

@ivanpauno ivanpauno added the in review Waiting for review (Kanban column) label Mar 3, 2020
@ivanpauno
ivanpauno requested a review from wjwwood March 3, 2020 19:52
@ivanpauno ivanpauno self-assigned this Mar 3, 2020
@ivanpauno
ivanpauno requested a review from hidmic March 4, 2020 14:05
@ivanpauno
ivanpauno force-pushed the ivanpauno/move-logging-configure-fini-to-upper-layer branch from 699bf4b to 0d9c49c Compare March 5, 2020 14:32
@ivanpauno

Copy link
Copy Markdown
Member Author

Rebased after #497 went in.

@ivanpauno

Copy link
Copy Markdown
Member Author

CI jobs in ros2/rcl#579 (comment).

Ivan Santiago Paunovic added 3 commits April 21, 2020 11:13
Signed-off-by: Ivan Santiago Paunovic <[email protected]>
Signed-off-by: Ivan Santiago Paunovic <[email protected]>
Signed-off-by: Ivan Santiago Paunovic <[email protected]>

@hidmic hidmic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

Comment thread rclpy/rclpy/context.py Resolved
Comment thread rclpy/rclpy/context.py Resolved
Comment thread rclpy/src/rclpy/_rclpy.c Resolved
Comment thread rclpy/rclpy/context.py Resolved
Signed-off-by: Ivan Santiago Paunovic <[email protected]>
@ivanpauno
ivanpauno merged commit fe68a6c into master Apr 23, 2020
@delete-merged-branch
delete-merged-branch Bot deleted the ivanpauno/move-logging-configure-fini-to-upper-layer branch April 23, 2020 20:34
Comment thread rclpy/rclpy/context.py
with self._handle as capsule, self._lock:
rclpy_implementation.rclpy_shutdown(capsule)
self._call_on_shutdown_callbacks()
self._logging_fini()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@ivanpauno any idea why this is not called from try_shutdown() as well?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

no, I guess that was only a mistake.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

#800 should fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in review Waiting for review (Kanban column)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants