@haosdent :thumbsup: On Thu, May 26, 2016 at 12:39 AM, haosdent <haosd...@gmail.com> wrote:
> 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 <j...@umn.edu> 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 <linshuai2...@gmail.com> >> 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 <j...@umn.edu> 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 >