freebsd selectors [console message]

General discussions here

Moderator: rgerhards

freebsd selectors [console message]

Postby Dennis Olvany on Mon Oct 17, 2005 11:16 pm

When starting rsyslogd I get two identical console messages referring to priority name. I noticed the section in the rsyslog.conf documentation concerning selectors. I copied syslog.conf to rsyslog.conf and added appropriate rsyslog parameters. I was just wondering what is causing the messages and whether they are a concern. Rsyslog.conf follows (comments removed):



$template mailinfo,"insert into mailinfo (date,time,host,process,message) values (date('%timegenerated:::date-mysql%'),time('%timegenerated:::date-mysql%'),'%source%',trim(trailing ':' from '%syslogtag%'),ltrim('%msg%'))",sql

*.err;kern.warning;auth.notice;mail.crit /dev/console
*.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err /var/log/messages
security.* /var/log/security
auth.info;authpriv.info /var/log/auth.log
mail.info /var/log/maillog
mail.info >mysql.deadghost.com,syslog,syslog,syslog;mailinfo
lpr.info /var/log/lpd-errs
ftp.info /var/log/xferlog
cron.* /var/log/cron
*.=debug /var/log/debug.log
*.emerg *
!startslip
*.* /var/log/slip.log
!ppp
*.* /var/log/ppp.log
Dennis Olvany
 

Professional Services Information

  • Custom written rsyslog.conf?
  • Maintenance Contract?
  • Installation support?

freebsd selectors [console message]

Postby Dennis Olvany on Tue Oct 18, 2005 11:19 am

I just realized I didn't even indicate my rsyslog version, 'tis 1.0.2.
Dennis Olvany
 

RE: freebsd selectors [console message]

Postby rgerhards on Tue Oct 18, 2005 11:42 am

Hi Dennis,

I hate to say that: but it is not currently supported. The bad thing is that I used the sysklogd sources as a starting point. I'd better used (Free)BSD syslogd, it has more features. rsyslogd also currently does not suport the +/- hostname selection. But now it's to late to complain.

Anyhow, I've decided to put this into the code soon. If everything goes well, I'll be able to address this issue this week so that it hopefully appears next week. In any case, that will not be in the stable branch, but in the development branch (most probably as 1.11.1 - nice number ;))
User avatar
rgerhards
Site Admin
 
Posts: 1780
Joined: Thu Feb 13, 2003 11:57 am

RE: freebsd selectors [console message]

Postby rgerhards on Tue Oct 18, 2005 5:40 pm

Dennis,

it looks very good, I've had some time this afternoon to look at the functionality. Could you send me just some sample lines of BSD syslogd that matches the "ppp" progname. I am asking because I probably have some slight differences in my implementation and I would like to sort that out. Of course, I'd configure a FreeBSD syslogd to generate that data myself, but I am a bit lazy... and would like to continue with the implementation ;)

Rainer
User avatar
rgerhards
Site Admin
 
Posts: 1780
Joined: Thu Feb 13, 2003 11:57 am

RE: freebsd selectors [console message]

Postby Guest on Wed Oct 19, 2005 1:04 pm

Dennis,

I've overcome my lazyness and looked at the BSD sources. So no need to send any test data. I've almost implemented the BSD syntax. Will let you know when you can pull it from CVS.

Rainer
PS: If you create a user account, you can receive email notifactions whenever a reply is posted to your threads ;)
Guest
 

RE: freebsd selectors [console message]

Postby Guest on Wed Oct 19, 2005 2:44 pm

OK, it's now available in the CVS. Will package a release soon.

Rainer
Guest
 

RE: freebsd selectors [console message]

Postby rgerhards on Wed Oct 19, 2005 4:22 pm

User avatar
rgerhards
Site Admin
 
Posts: 1780
Joined: Thu Feb 13, 2003 11:57 am

Google Ads



Return to General

Who is online

Users browsing this forum: No registered users and 0 guests

cron