Re: [ovs-dev] [PATCH] vlog.c: Avoid duplicating log message in rsyslog if enabling syslog-target

2015-04-22 Thread Michael Hu (NSBU)
dmin. > >I think a new '--no-local-syslog' command line would maintain >backwards compatibility. > > >> >> On Tue, Apr 21, 2015 at 09:33:45PM +, Michael Hu (NSBU) wrote: >>> Thanks for the suggestion, Ben. >>> >>> I will add a new com

Re: [ovs-dev] [PATCH] vlog.c: Avoid duplicating log message in rsyslog if enabling syslog-target

2015-04-21 Thread Michael Hu (NSBU)
rable. I would not want to break this use case. >> >> >> >> Henry: if it's OK to ask you a question even though you've departed >> >> VMware, can you tell us why --syslog-target sends to both the local >>and >> >> the remote targets,

Re: [ovs-dev] [PATCH] vlog.c: Avoid duplicating log message in rsyslog if enabling syslog-target

2015-04-21 Thread Michael Hu (NSBU)
that was >> undesirable. I would not want to break this use case. >> >> Henry: if it's OK to ask you a question even though you've departed >> VMware, can you tell us why --syslog-target sends to both the local and >> the remote targets, instead of rep

Re: [ovs-dev] [PATCH] vlog.c: Avoid duplicating log message in rsyslog if enabling syslog-target

2015-04-14 Thread Michael Hu (NSBU)
s, Michael From: Ben Pfaff Sent: Tuesday, April 14, 2015 9:11 PM To: Gurucharan Shetty Cc: Michael Hu; ovs-dev Subject: Re: [ovs-dev] [PATCH] vlog.c: Avoid duplicating log message in rsyslog if enabling syslog-target On Fri, Apr 10, 2015 at 07:30:13AM -0700, Gurucha

[ovs-dev] [PATCH v2] vlog.c: Avoid duplicating log message in rsyslog if enabling syslog-target

2015-04-14 Thread Michael Hu
From: Michael Hu Currently if --syslog-target=127.0.0.1:514 is enabled, syslog would have duplicated log messages. The fix will not call syslog() if already having syslog_fd indicating message is sent through udp. Signed-off-by: Michael Hu --- v1-v2: put RSYSLOG last in DESTINATION as ovs

[ovs-dev] [PATCH v1] vlog.c: Avoid duplicating log message in rsyslog if enabling syslog-target

2015-04-10 Thread Michael Hu
From: Michael Hu vlog.c: Avoid duplicating log message in rsyslog if enabling syslog-target Currently if --syslog-target=127.0.0.1:514 is enabled, syslog would have duplicated log messages. The fix will not call syslog() if already having syslog_fd indicating message is sent through udp