Re: [users@httpd] using tee to feed logs to executable

2017-03-30 Thread Eric Covener
So no eof In your piped loggers should be expected. On Wed, Mar 29, 2017, 11:20 PM Milind Vaidya wrote: > it does not restart apache it just copytruncates erro_log file. > > On Wed, Mar 29, 2017 at 6:19 PM, Eric Covener wrote: > > On Wed, Mar 29, 2017 at 9:16 PM, Milind Vaidya wrote: > > But w

Re: [users@httpd] using tee to feed logs to executable

2017-03-29 Thread Milind Vaidya
it does not restart apache it just copytruncates erro_log file. On Wed, Mar 29, 2017 at 6:19 PM, Eric Covener wrote: > On Wed, Mar 29, 2017 at 9:16 PM, Milind Vaidya wrote: > > But will it be same instance of the program or separate one ? > > A second process. > > > > > I mean one consuming err

Re: [users@httpd] using tee to feed logs to executable

2017-03-29 Thread Eric Covener
On Wed, Mar 29, 2017 at 9:16 PM, Milind Vaidya wrote: > But will it be same instance of the program or separate one ? A second process. > > I mean one consuming error_log and another consuming ssl_error_log ? One each > > also I am terminating the consumer once EOF is received. But it does not

Re: [users@httpd] using tee to feed logs to executable

2017-03-29 Thread Milind Vaidya
Thanks. Let me try it. But will it be same instance of the program or separate one ? I mean one consuming error_log and another consuming ssl_error_log ? also I am terminating the consumer once EOF is received. But it does not look like it starts every hour when the logrotate rotates error_log.

Re: [users@httpd] using tee to feed logs to executable

2017-03-29 Thread Eric Covener
On Wed, Mar 29, 2017 at 8:46 PM, Milind Vaidya wrote: > I also want the same program to consume ssl_error_log. Is it possible to do > that using similar syntax ? Of course. - To unsubscribe, e-mail: users-unsubscr...@httpd.apac

[users@httpd] using tee to feed logs to executable

2017-03-29 Thread Milind Vaidya
Hi I am using *ErrorLog* *"| /usr/bin/tee -a /var/log/httpd/error_log | java logconsumer"* I also want the same program to consume ssl_error_log. Is it possible to do that using similar syntax ?