Piping multiple log files to a single java program

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

 



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 | 


[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