Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrrx committed Sep 15, 2018
1 parent bec6a46 commit ad92a2c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions clients/rospy/src/rospy/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,9 @@ def _base_logger(msg, args, kwargs, throttle=None,
throttle_identical=False, level=None, once=False):

rospy_logger = logging.getLogger('rosout')
name = kwargs.get('logger_name')
name = kwargs.pop('logger_name')
if name:
rospy_logger = rospy_logger.getChild(name)
del kwargs['logger_name']
logfunc = getattr(rospy_logger, level)

if once:
Expand Down

0 comments on commit ad92a2c

Please sign in to comment.