httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milind Vaidya <kava...@gmail.com>
Subject [users@httpd] Piping multiple log files to a single java program
Date Tue, 07 Mar 2017 22:05:01 GMT
I am using this directive successfully.


ErrorLog  "| /usr/bin/tee -a /var/log/httpd/error_log |  java -cp
producer.jar stdin.producer.StdInProducer /CustomProducer/config.json
>> /producer_init.log 2>&1"



if I also want to send ssl_error_log to this program as well, is there
any provision to do so ?

This is what I was doing when using manual script to launch the log consumer.

*tail* *-n0* *-F** /var/log/httpd/error_log /var/log/httpd/ssl_error_log **|*

Mime
View raw message