Hi, @June In rsyslog, "& stop" is used to discard message from further
processing so that it would not duplicated in /var/log/messages.

On Wed, May 25, 2016 at 11:32 PM, June Taylor <[email protected]> wrote:

> Shuai,
>
> Thank you for your quick reply. Just confirming: What is the & stop
> portion for?
>
>
> Thanks,
> June Taylor
> System Administrator, Minnesota Population Center
> University of Minnesota
>
> On Wed, May 25, 2016 at 10:30 AM, Shuai Lin <[email protected]>
> wrote:
>
>> Here's what we use to redirect slave logs to its own file on ubuntu 14.04:
>>
>> $ cat /etc/rsyslog.d/30-mesos.conf
>>> :programname, contains, "mesos-slave" /var/log/mesos-slave.log
>>> & stop
>>
>>
>> The master part is basically the same.
>>
>> On Wed, May 25, 2016 at 11:02 PM, June Taylor <[email protected]> wrote:
>>
>>> Has anyone successfully taken the Mesos-related log messages that appear
>>> in /var/log/messages and moved them to another file? Not just duplicated
>>> them, but removed them.
>>>
>>> Thanks,
>>> June Taylor
>>> System Administrator, Minnesota Population Center
>>> University of Minnesota
>>>
>>
>>
>


-- 
Best Regards,
Haosdent Huang

Reply via email to