# confused on comment

**URL:** <https://forum.ansible.com/t/confused-on-comment/11306>\
**Category:** Ansible Project\
**Created:** [February 27, 2012, 4:09am UTC](https://forum.ansible.com/t/confused-on-comment/11306 "2012-02-27T04:09:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seth\_Vidal](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@Seth\_Vidal](https://forum.ansible.com/u/Seth_Vidal)\
**Post date:** [February 27, 2012, 4:09am UTC](https://forum.ansible.com/t/confused-on-comment/11306/1 "2012-02-27T04:09:46Z")

</div>

In the runner.py I see this

def remote\_log(self, conn, msg):  
&nbsp;&nbsp;&nbsp;&nbsp;''' this is the function we use to log things '''  
&nbsp;&nbsp;&nbsp;&nbsp;stdin, stdout, stderr = conn.exec\_command('/usr/bin/logger -t  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ansible -p auth.info %r' % msg)  
&nbsp;&nbsp;&nbsp;&nbsp;# TODO: doesn't actually call logger on the remote box, should  
though  
&nbsp;&nbsp;&nbsp;&nbsp;# TODO: maybe make that optional

I don't understand the first TODO - it does call it on the remote  
machine.

on my test box I see:

f16-1 systemd-logind[734]: New session 272 of user root.  
f16-1 ansible: command: mktemp /tmp/ansible\_command.XXXXXX  
f16-1 ansible: command: chmod +x /tmp/ansible\_command.UelVhB  
f16-1 ansible: command: /tmp/ansible\_command.UelVhB sleep 40

So... What am I missing here?

-sv

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [February 27, 2012, 1:14pm UTC](https://forum.ansible.com/t/confused-on-comment/11306/2 "2012-02-27T13:14:29Z")

</div>

I was skimming last night, comment is safe to remove, my fault
