Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] syslog-ng problem after updating to 3.8
Date: Thu, 10 Jul 2014 11:44:58
Message-Id: 53BE7C81.3050108@gmail.com
In Reply to: [gentoo-user] syslog-ng problem after updating to 3.8 by covici@ccs.covici.com
1 On 10/07/2014 13:27, covici@××××××××××.com wrote:
2 > Hi. I was using syslog-ng 3.7 without any errors, but after upgrading
3 > to 3.8,
4
5
6 I take it you mean 3.4.7 -> 3.4.8?
7
8 > every day during my cron.daily, I get two copies of the message
9 > which says
10 > error: syslog-ng:7 duplicate log entry for /var/log/messages
11 >
12 > I could not find any release notes to tell me what they did which would
13 > cause this error -- anybody have a clue?
14
15
16 It's been a while since I dealt with that beast called syslog-ng, but
17 looking at your .conf I see:
18
19 log { source(local); filter(f_3); filter(f_4); filter(f_5); filter(f_6);
20 destination(d_3); };
21
22
23 Single log entries can easily match many of those filters leading to
24 duplicate entries all being written to d_3
25
26 The final flag is what deals with that. Use it in your filters to stop
27 processing for that message when matched.
28
29
30
31 I can't explain the change since 3.4.8 - perhaps it's a bug fix that
32 didn;t make it into the ChangeLog?
33
34
35
36
37 >
38 >
39 > Thanks in advance for any suggestions.
40 >
41 >
42 >
43 >
44 >
45
46
47 --
48 Alan McKinnon
49 alan.mckinnon@×××××.com