title: Convert syslog-ng to rsyslog
body: <p>How can I convert this configuration to rsyslog?</p>
  
  <pre><code>options {
          long_hostnames(off);
          sync(0);
          perm(0640);
          stats(3600);
          log_msg_size(163840);
          log_fifo_size(50000);
  };
  
  source s_local {
          unix-dgram("/dev/log");
          file("/proc/kmsg" log_prefix("kernel:"));
  };
  </code></pre>
  
  <p>I'm migrating to rsyslog 7.4 and can't find anywhere in the official documentation how to set those settings or listening for an unix-dgram.</p>