Sorry I think we are misunderstanding each other. What I am wanting to
do is this:

###

local0.* FILE1
local2.* FILE2

*.* (but not local0.* or local2.*) FILE3

###

Is that possible?

Thanks again.
-Joe



On Thu, 3 Sep 2009 17:24:06 -0700 (PDT)
[email protected] wrote:

> On Thu, 3 Sep 2009, Joe Williams wrote:
> 
> > I do not want everything to log to a single file, the local
> > facilities I would like to log to there own file and not be caught
> > by a wildcard.
> 
> ahh, ok, you cannot say local*.* you would have to list 
> local0.*,local1.*,.. to cover them all
> 
> there are 16 facility numbers, and by filtering out local0-local7 you
> are wanting to eliminate exactly half of them
> 
> as such it's probably just as easy to list all the ones you want to
> record as it is to say *.* and subtract half of them.
> 
> David Lang
> 
> > Thanks.
> > -Joe
> >
> >
> > On Thu, 3 Sep 2009 17:05:04 -0700 (PDT)
> > [email protected] wrote:
> >
> >> On Thu, 3 Sep 2009, Joe Williams wrote:
> >>
> >>> Hello again,
> >>>
> >>> I am trying to log everything (*.*) to /var/log/syslog but
> >>> local*.*. I tried a couple different ways to do this but didn't
> >>> find a solution. Is this possible? I have a couple services I want
> >>> to log to their own file rather than syslog, messages, etc.
> >>
> >> if you just do
> >>
> >> *.* /var/log/syslog
> >>
> >> that will write everything to that file
> >>
> >> I'm not sure what you are trying to say when you say 'but local*.*'
> >> above.
> >>
> >> David Lang
> >> _______________________________________________
> >> rsyslog mailing list
> >> http://lists.adiscon.net/mailman/listinfo/rsyslog
> >> http://www.rsyslog.com
> >
> >
> >
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com


-- 
Name: Joseph A. Williams
Email: [email protected]
Blog: http://www.joeandmotorboat.com/
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to