[syslog-ng]UDP messages not logged

Dian HiWi syslog-ng@lists.balabit.hu
Sat, 22 May 2004 00:54:14 +0200


Hi!
I am new to syslog-ng. I tried to configure the daemon, obviously not with
great success. I will past the part form my .conf file and would like to
ask, why isn't the logging working.

#I have enabled this option.
 source src { unix-dgram("/dev/log"); internal(); file("/proc/kmsg"
log_prefix("
kernel: ")); udp( port(514) ); };

#A new destination
destination local0{
file("/var/log/test/syslog-net-$HOST/$DAY$MONTH$YEAR/$FACILITY"
owner("root") group("adm") perm (0600) dir_perm(0700) create_dirs(yes));};

filter loc_network{
facility(local0,local1,local2,local3,local4,local5,local6,local7);};
log {
source(src);filter(f_syslog);filter(loc_network);destination(local0);};


As you' ve might seen, I try to get even every syslog message in the same
dir, but it just doesn't works.
Could it be a problem, that I haven't created the directory 'test' ?



         cheers
            Dian



 -------------------------------------------------------------
 Windows 95/NT - 32 bit extensions and a graphical shell
   for a 16 bit patch
       to an 8 bit operating system originally coded
          for a 4 bit microprocessor,
             written by a 2 bit company
                that can't stand 1 bit of competition.