title: syslog-ng multiple destinations
body: <p>We are using <code>syslog-ng</code> to send access-log file to remote servers via <code>tcp</code>. And I already know that multiple destination can be configured to do this job, just like:  </p>
  
  <pre><code>source s_xxx { file("/xxx/access.log"); };
  destination d_one {tcp("1.2.3.4", port(1234));};  
  destination d_two {tcp("1.2.3.5", port(1234));};
  log {source(s_xxx); destination(d_one); destination(d_two);};
  </code></pre>
  
  <p>What I am going to figure out is that how to poll my content to these two destinations(such as round-robin). In other words, my content is either sent to <code>d_one</code> or <code>d_two</code>, not both of them.</p>
  
  <p>thanks very much.</p>