Why doesn't this work?

2013-06-27 Thread Paul Schmehl
echo Testing, testing, testing |/usr/bin/tee -a /var/log/httpd-access.log |/usr/bin/logger -t base_http_access /var/log/testing.log This writes to the httpd-access.log but does not write to /var/log/testing.log. I'm probably reading the man page incorrectly, but I thought this should work.

Re: Why doesn't this work?

2013-06-27 Thread markham breitbach
logger logs to syslog, so unless you have user.notice logging to /var/log/testing.log this will probably not do what you are expecting. Have a look in /var/log/messages for something like this. Jun 27 16:38:03 xxx-hostname base_http_access: /var/log/testing.log Otherwise, you may want to setup