On Wed, Mar 11, 2015 at 11:10 PM, Debajit Adhikary deba...@outlook.com wrote:
CustomLog |/bin/sed -r s/pass/REDACTED/g /workplace/tmp/access.log common
However, when I make a request to Apache, I get an error saying
/bin/sed: can't read : No such file or directory
How can I get this
I am trying to use a piped CustomLog to filter my logs:
httpd.conf:CustomLog |/bin/sed -r s/pass/REDACTED/g
/workplace/tmp/access.log common
However, when I make a request to Apache, I get an error saying/bin/sed: can't
read : No such file or directory
How can I get this working? (It seems
On Thu, Mar 12, 2015 at 12:03 AM, Yann Ylavic ylavic@gmail.com wrote:
With Apache 2.4.x, you probably have to use :
CustomLog $|/bin/sed -r s/pass/REDACTED/g /workplace/tmp/access.log
common
Oups, I meant |$..., with the $ *after* the |.