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. For some reason absolutely nothing is being passed from tee to logger.

What am I missing?

--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
*******************************************
"It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead." Thomas Jefferson
"There are some ideas so wrong that only a very
intelligent person could believe in them." George Orwell

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to