Re: using tee to feed logs to executable

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

 



So no eof In your piped loggers should be expected.


On Wed, Mar 29, 2017, 11:20 PM Milind Vaidya <kavadsa@xxxxxxxxx> wrote:
it does not restart apache it just copytruncates erro_log file. 

On Wed, Mar 29, 2017 at 6:19 PM, Eric Covener <covener@xxxxxxxxx> wrote:
On Wed, Mar 29, 2017 at 9:16 PM, Milind Vaidya <kavadsa@xxxxxxxxx> 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
> look like it starts every hour when the logrotate rotates error_log

What do you have logrotate doing? Does it restart Apache?  Y

--
Eric Covener
covener@xxxxxxxxx
---------------------------------------------------------------------
To unsubscribe, e-mail: users-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