[syslog-ng]Problem with syslogd and syslog-ng...

BENGT OLSSON bol@bth.se
Thu, 08 Aug 2002 13:58:26 +0200


Hello

Can some one help me with this?

I have  syslog-ng running on the loggserver and syslogd on the clients 
and syslog-ng servern dosn't trig on all levels.

ex.

on the client(etc/syslog.conf)

*.debug         @loghost
*.info  @loghost
#*.notice       @loghost
#*.warning      @loghost
#*.err                  @loghost
#*.crit                 @loghost
#*.alert                        @loghost
#*.emerg                        @loghost

gives 2 entries in the logfile

#*.debug         @loghost
*.info  @loghost
#*.notice       @loghost
#*.warning      @loghost
#*.err                  @loghost
#*.crit                 @loghost
#*.alert                        @loghost
#*.emerg                        @loghost

gives zero entries in the logfile??

I want to log all levels from warning to emerg.
*.warning      @loghost in the syslog.conf file  would be enough or is in't?
And this should gives one entrie in the logfile?

the syslog-ng.conf looks like this:

options { use_fqdn(yes); keep_hostname(yes); use_dns(yes); 
long_hostnames(off); sync(3); log_fifo_size(1000); };

source all { sun-streams ("/dev/log" door("/etc/.syslog_door")); 
internal(); udp(); };

# automatic host sorting
# set it up


destination hosts { 
file("/var/syslog/hosts/$HOST/$FACILITY_$YEAR-$MONTH-$DAY" owner(root) 
group(root) perm(0600) dir_perm(0700) create_dirs(yes)); };

# log by host
log { source(all); destination(hosts); };


/Benke


-- 
Bengt Olsson
Blekinge Tekniska Högskola
Datorenheten	Campus Gräsvik
Vallhallavägen 1	371 79 Karlskrona

Mail:	bol@bth.se
Tel:	0455-385152
Mobil:	0708-787 780