Re: Piping logs to a java process : creates multiple processes

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

 



As an extension to this, 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 | 


On Mon, Jan 23, 2017 at 5:38 PM, Milind Vaidya <kavadsa@xxxxxxxxx> wrote:
Thanks for prompt reply Eric.

Adding relevant code resolved, the issue of 2 processes at the beginning. Let me wait for logrotate to kick in and see over few hours how it behaves. 



On Mon, Jan 23, 2017 at 4:41 PM, Eric Covener <covener@xxxxxxxxx> wrote:
On Mon, Jan 23, 2017 at 7:36 PM, Milind Vaidya <kavadsa@xxxxxxxxx> wrote:
> When httpd is started it spawns 2 processes and adds one every one hour,
> keeping all alive


Your java program needs to exit when stdin returns EOF.

--
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
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