httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Debajit Adhikary <deba...@outlook.com>
Subject [users@httpd] CustomLog fails when piped to sed
Date Wed, 11 Mar 2015 22:10:58 GMT
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 others have been able to use piped CustomLog like this)

 		 	   		  
Mime
View raw message