I am trying to setup syslog-ng to send tomcat logs (as well as all the other system logs) to a log server but it doesn't seem to be working, this is the line I have:
destination d_tomcat { file("/opt/tomcat/logs/*.log"); };
And then of course this:
log { source(s_src); destination(d_net); };
and this
destination d_net { tcp("x.x.x.x" port(1514) log_fifo_size(1000)); };