On 03/14/2012 01:51 PM, Denys Vlasenko wrote:
This patch splits abrt-dump-oops into a generic log watcher tool,
abrt-watch-log, and oops finder, which retains the name
abrt-dump-oops.
...
Instead of running
abrt-dump-oops -rwxD /var/log/messages
about the same effect is achieved by
abrt-watch-log /var/log/messages -- abrt-dump-oops -xD
And here is the second user of abrt-watch-log: Xorg
crash analyzer:
$ abrt-dump-xorg --help
Usage: abrt-dump-xorg [-vsox] [-d DIR]/[-D] [FILE]
Extract Xorg crash from FILE (or standard input)
-v, --verbose Be verbose
-s Log to syslog
-o Print found crash data on standard output
-d DIR Create ABRT dump in DIR for every crash found
-D Same as -d DumpLocation, DumpLocation is specified in
abrt.conf
-x Make the problem directory world readable
Please review the attached patch.
--
vda