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.
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