I'm trying to implement syslog-ng so I can have a central log host.  However, I 
am not getting any logs from other servers logged to my syslog-ng server.  For 
those who have used syslog-ng, could you look over this config file and let me 
know if you see any typos? 

options {
        long_hostnames(off);
        sync(0);
        stats(43200);
        dns_cache(yes);
        use_fqdn(no);
        keep_hostname(yes);
        use_dns(yes);
};

source local {
        unix-stream("/dev/log");
        internal();
};

source gateway {
        udp(ip(0.0.0.0) port(514));

source tcpgateway {
        tcp(ip(0.0.0.0) port(514) max_connections(1000));
};

destination hosts {
        file("/var/log/syslogs/$HOST" owner(root) group(root) perm(0600) 
dir_per                           m(0700) create_dirs(yes));

};

log {
        source(gateway);
        destination(hosts);
};

log {
        source(local);
        destination(hosts);
};

log {
        source(tcpgateway);
        destination(hosts);
};


If any debug output is needed, let me know.. 


..thanks, Ryan

Reply via email to