[syslog-ng] Filters not working at all?
Mon, 20 Dec 1999 10:00:32 +0100
On Fre, 17 Dez 1999, Balazs Scheidler wrote:
> On Fri, Dec 17, 1999 at 01:30:18PM -0500, John Wingenbach wrote:
> > I have syslog-ng V 1.3.8 installed on Solaris 2.6 system. I can't seem
> > to get the range specification for filters to work properly (e.g.
> > level(debug..emerg))). Instead only a single level is stored in the
> > file. Here is my current syslog config file:
> level(debug .. emerg), spaces are important.
> The problem is that, if I try to remove '.' from the valid word characters,
> IP address would have to be enclosed withing quotation marks. So there are
> two alternatives:
> 1) You have to put spaces between '..' and the priority id
> 2) You have to enclose IP addresses within ""
> What do you think?
You'll never find ".." in a valid IP address. Thats what I check for
when I want to check for errors. Problem: you'll have to look ahead
one more character.
DPN Verbund-Zentrale http://www.dpn.de/ fon: +49 203 3093 101
Bismarckstr. 120 fax: +49 203 3093 112
D-47057 Duisburg Deutsches Provider Network Markus.Warg@dpn.de