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

Add logger roscpp_internal.connections. #980

Merged
merged 1 commit into from
Feb 13, 2017
Merged

Add logger roscpp_internal.connections. #980

merged 1 commit into from
Feb 13, 2017

Conversation

deng02
Copy link
Contributor

@deng02 deng02 commented Feb 8, 2017

We need more connection leve diagnostics in our logs but turning
on DEBUG for roscpp_internal generates a flood of information. We
only need visibility into when tcpros connections are created/dropped
for publishers and subscribers. The rospy nodes currently do this
but the roscpp ones do not.

A DEBUG macro for logging messages to the named logger
roscpp_internal.connections has been added. This will
allow it to inherit the roscpp_internal log level or be
turned on separately to just get connection-related messages.

We need more connection leve diagnostics in our logs but turning
on DEBUG for roscpp_internal generates a flood of information. We
only need visibility into when tcpros connections are created/dropped
for publishers and subscribers. The rospy nodes currently do this
but the roscpp ones do not.

A DEBUG macro for logging messages to the named logger
roscpp_internal.connections has been added.  This will
allow it to inherit the roscpp_internal log level or be
turned on separately to just get connection-related messages.
@mikepurvis
Copy link
Member

+1

mikepurvis added a commit to clearpathrobotics/ros_comm that referenced this pull request Feb 10, 2017
@dirk-thomas dirk-thomas merged commit e8c0461 into ros:kinetic-devel Feb 13, 2017
rsinnet pushed a commit to MisoRobotics/ros_comm that referenced this pull request Jun 19, 2017
Add logger roscpp_internal.connections.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants