Limiting logging to /var/log/messages
Posted: Tue Dec 18, 2018 12:01 pm
Hi,
I would like to eliminate some log messages going to /var/log/messages and would like to know the best way to do this. These messages are written every 5 minutes and don't seem too important to me but what do I know.
How can I turn these off/filter them out without affecting the proper functioning of my Network Analyzer?
I would like to eliminate some log messages going to /var/log/messages and would like to know the best way to do this. These messages are written every 5 minutes and don't seem too important to me but what do I know.
How can I turn these off/filter them out without affecting the proper functioning of my Network Analyzer?
Code: Select all
Dec 18 16:55:00 myhost nfcapd[2550]: Run expire on '/usr/local/nagiosna/var/myrouter/flows'
Dec 18 16:55:00 myhost nfcapd[2550]: Limits: Filesize <none>, Lifetime 86400 = 1.0 days, Watermark: 95%
Dec 18 16:55:00 myhost nfcapd[2550]: Current size: 1142784 = 1.1 MB, Current lifetime: 83400 = 23.2 hours, Number of files: 279
Dec 18 16:55:00 myhost nfcapd[2550]: expire completed - nothing to expire.
Dec 18 16:55:00 myhost nfcapd[2550]: launcher child exit 1 children.
Dec 18 16:55:00 myhost nfcapd[2550]: launcher child 7891 exit status: 0
Dec 18 16:55:00 myhost nfcapd[2550]: launcher waiting children done. 0 children
Dec 18 16:55:01 myhost nfcapd[2594]: Ident: '8' Flows: 795, Packets: 0, Bytes: 218457798, Sequence Errors: 0, Bad Packets: 0
Dec 18 16:55:01 myhost nfcapd[2594]: Signal launcher
Dec 18 16:55:01 myhost nfcapd[2594]: Total ignored packets: 0
Dec 18 16:55:01 myhost nfcapd[2595]: Launcher: fork child.
Dec 18 16:55:01 myhost nfcapd[2595]: Launcher: child exec done.
Dec 18 16:55:01 myhost nfcapd[2595]: Run expire on '/usr/local/nagiosna/var/myfw/flows'
Dec 18 16:55:01 myhost nfcapd[2595]: Limits: Filesize <none>, Lifetime 86400 = 1.0 days, Watermark: 95%
Dec 18 16:55:01 myhost nfcapd[2595]: Current size: 4083712 = 3.9 MB, Current lifetime: 81900 = 22.8 hours, Number of files: 274
Dec 18 16:55:01 myhost nfcapd[2595]: expire completed - nothing to expire.
Dec 18 16:55:01 myhost nfcapd[2595]: launcher child exit 1 children.
Dec 18 16:55:01 myhost nfcapd[2595]: launcher child 7901 exit status: 0
Dec 18 16:55:01 myhost nfcapd[2595]: launcher waiting children done. 0 children