httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harry Rüter <harry_rue...@gmx.de>
Subject Re: [users@httpd] LINUX: writing logfiles into named pipe ?
Date Sun, 14 May 2006 08:28:13 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

i think you misunderstood my question  :o)

I want to write into a NAMED pipe,
not to pipe into a programm.

My goal is that apache writes into the named pipe
and syslog-ng reads from it, so i can send the
logs to another host.

I made a workaround shellscript, which reads from stdin and writes into
the named pipe, but this is suboptimal, as the logs then seem
to come from the shellscript and not from apache ..

greets Harry

Bill Jones schrieb:
> On 5/13/06, Harry Rüter <harry_rueter@gmx.de> wrote:
> 
>> i was trying to write logs into a named pipe,
>> but had i no success (httpd-2.0.54).
>>
>> httpd is waiting/blocking forever and must be killed ...
> 
> It works fine for me -- what format are you using?  The typical example is
> 
> CustomLog "|/usr/local/apache/bin/rotatelogs /var/log/access_log 86400"
> common
> 
> I use
> CustomLog "|/home/apache/split  /var/log/access_log 86400" common
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)

iD8DBQFEZuod7ttRafA1ej8RAof0AKCoWUWx7OBSBnMdbgqEW91RkC/DlACgxGV3
WMUefoLlo0pmfOcaDQK2TTM=
=SfNA
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message