diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2011-01-17 16:39:11 +0100 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2011-01-17 16:39:11 +0100 |
commit | e796e95a4efbfeb04223f61c600c7712da7b500f (patch) | |
tree | 146d4bfe21c8fb6085041ec04198c4bc35663424 /icons/hicolor_status_16x16_abrt04.png | |
parent | f19d4af6c98ca2c45c1d2bf7f5085aa3fe690609 (diff) | |
download | abrt-e796e95a4efbfeb04223f61c600c7712da7b500f.tar.gz abrt-e796e95a4efbfeb04223f61c600c7712da7b500f.tar.xz abrt-e796e95a4efbfeb04223f61c600c7712da7b500f.zip |
replace KerneloopsScanner plugin and dumpoops with abrt-dump-oops, use it in abrtd
Patch adds new tool:
$ abrt-dump-oops
Usage: abrt-dump-oops [-vsrdow] FILE
Extract oops from syslog/dmesg file
-v, --verbose Be verbose
-s Log to syslog
-r Parse kernel's message buffer before parsing FILE
-d Create ABRT dump for every oops found
-o Print found oopses on standard output
-w Do not exit, watch the file for new oopses
It extends dumpoops. Extensions:
* it can watch the syslog using -w option (uses inotify)
* it can scan dmesg buffer too
In this way, it also becomes a replacement for KerneloopsScanner plugin:
oops-detecting logic is taken verbatim from KerneloopsScanner source.
abrtd is changed to start it if it sees this directive in abrt.conf:
[ LogScanners ]
abrt-dump-oops = abrt-dump-oops -drw /var/log/messages
Default abrt.conf is changed to have such line.
Patch doesn't remove KerneloopsScanner plugin and dumpoops binary yet,
I will do it in a separate trivial patch.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'icons/hicolor_status_16x16_abrt04.png')
0 files changed, 0 insertions, 0 deletions