Re: [users@httpd] LINUX: writing logfiles into named pipe ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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@xxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux