GNU bug report logs - #33292
Piped log program failed unexpectedly when using sed with Apache at windows

Previous Next

Package: sed;

Reported by: Assaf Gordon <assafgordon <at> gmail.com>

Date: Tue, 6 Nov 2018 17:43:01 UTC

Severity: normal

Tags: moreinfo, notabug

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Assaf Gordon <assafgordon <at> gmail.com>
To: bug-sed <at> gnu.org
Subject: Piped log program failed unexpectedly when using sed with Apache at
 windows
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
===




This bug report was last modified 6 years and 184 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.