Subject: bug#33292: Piped log program failed unexpectedly when using sed with Apache at windows

From: Assaf Gordon <[email-masked]>
Date: Tue, 6 Nov 2018 10:42:07 -0700

Bug report forwarded from
 From github https://github.com/agordon/sed/issues/1
and/or stackoverflow https://stackoverflow.com/q/53118038

Vikram Singh writes:
====
I am using sed to mask some data in proxy logs of Apache at windows.
Putting command in httpd.conf file is :

  CustomLog "|$'C:/Program Files (x86)/GnuWin32/bin/sed' -i 
's/password=[^ ]*/password=masked/' 'logs/proxy-access.log'" combined

on starting Apache service command prompts start opening and closing and 
in error.logs found exception i.e :

AH00106: piped log program ''C:/Program Files (x86)/GnuWin32/bin/sed' -i 
's/password=[^ ]*/password=masked/' 'C:/Apache24/logs/proxy-access.log'' 
failed unexpectedly
apache logging sed proxy
===