Remote log - how to configure

I don’t know how logging works in default OpenWrt, but Omnia seems to use syslog-ng. I also tried to enable logging in LUCI, but no luck. There was no syslog-ng configuration created.

So I created a new file /etc/syslog-ng.d/remote.conf with the following content:

destination d_loghost { udp("192.168.1.200"); };
log {
        source(src);
        source(kernel);
#       filter(f_turris_iptables);
        destination(d_loghost);
};

After reloading syslog-ng I’m receiving the logs over the network now.