blob: 75b20d76bc10d971edddbd0e9547ea673f4612b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# The lines below cause all FRR daemons and process to go
# to /var/log/frr/frr.log, then drops the message so it does
# not also go to /var/log/syslog, so the messages are not duplicated
$outchannel frr_log,/var/log/frr/frr.log
if $programname == 'babeld' or
$programname == 'bgpd' or
$programname == 'bfdd' or
$programname == 'eigrpd' or
$programname == 'frr' or
$programname == 'isisd' or
$programname == 'fabricd' or
$programname == 'ldpd' or
$programname == 'nhrpd' or
$programname == 'ospf6d' or
$programname == 'ospfd' or
$programname == 'pimd' or
$programname == 'pim6d' or
$programname == 'pathd' or
$programname == 'pbrd' or
$programname == 'ripd' or
$programname == 'ripngd' or
$programname == 'vrrpd' or
$programname == 'watchfrr' or
$programname == 'zebra'
then :omfile:$frr_log
if $programname == 'babeld' or
$programname == 'bgpd' or
$programname == 'bfdd' or
$programname == 'eigrpd' or
$programname == 'frr' or
$programname == 'isisd' or
$programname == 'fabricd' or
$programname == 'ldpd' or
$programname == 'nhrpd' or
$programname == 'ospf6d' or
$programname == 'ospfd' or
$programname == 'pimd' or
$programname == 'pim6d' or
$programname == 'pathd' or
$programname == 'pbrd' or
$programname == 'ripd' or
$programname == 'ripngd' or
$programname == 'vrrpd' or
$programname == 'watchfrr' or
$programname == 'zebra'
then stop
|