Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.

Add logger roscpp_internal.connections.#980

Merged
dirk-thomas merged 1 commit intoros:kinetic-develfrom
deng02:logging-roscpp-connections
Feb 13, 2017
Merged

Add logger roscpp_internal.connections.#980
dirk-thomas merged 1 commit intoros:kinetic-develfrom
deng02:logging-roscpp-connections

Conversation

@deng02
Copy link
Copy Markdown
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
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants