# Issue with ArUco Locator: Transform Not Published Due to Logging Argument Error

**URL:** <https://forum.hello-robot.com/t/issue-with-aruco-locator-transform-not-published-due-to-logging-argument-error/1058>\
**Category:** Share\
**Created:** [July 25, 2024, 5:33pm UTC](https://forum.hello-robot.com/t/issue-with-aruco-locator-transform-not-published-due-to-logging-argument-error/1058 "2024-07-25T17:33:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![allen](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.hello-robot.com/allen/32/914_2.png) [@allen](https://forum.hello-robot.com/u/allen)\
**Post date:** [July 25, 2024, 5:33pm UTC](https://forum.hello-robot.com/t/issue-with-aruco-locator-transform-not-published-due-to-logging-argument-error/1058/1 "2024-07-25T17:33:58Z")

</div>

Hi,

I’ve been debugging the ArUco locator from this [tutorial](https://docs.hello-robot.com/0.3/ros2/example_12/), and I’ve encountered an issue where the transform is not being published when an ArUco tag is found.

I discovered that the problem was due to an argument issue with `get_logger` as shown [here](https://github.com/hello-robot/stretch_tutorials/blob/humble/stretch_ros_tutorials/aruco_tag_locator.py#L157). By replacing the problematic logging statement with `self.get_logger().info(f"Found Requested Tag: \n{transform}")`, the issue was resolved.

---

<div class="post-metadata">

**Author:** ![bshah](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.hello-robot.com/bshah/32/55_2.png) [@bshah](https://forum.hello-robot.com/u/bshah)\
**Post date:** [July 26, 2024, 6:25pm UTC](https://forum.hello-robot.com/t/issue-with-aruco-locator-transform-not-published-due-to-logging-argument-error/1058/2 "2024-07-26T18:25:05Z")

</div>

Thanks @allen! I’ve [added](https://github.com/hello-robot/stretch_tutorials/commit/22b49e4934bdc1197851ff0611d1dc6534472674) your fix to the tutorial. Should show up on the docs shortly.
