crash reporter: avoid repeated warning collection

The warning collector daemon parses the entire syslog every time it
starts (almost exclusively at boot).  This change makes the collector
start reading at the end of /var/log/messages (where it waits for further
input) rather than the beginning.  The collector will miss any warnings
that may have occurred between the last warning reported, and the daemon
restart.

BUG=chromium:343954
TEST=none yet
BRANCH=none

Change-Id: I5e9b141561365b9a1d328ed6283c27e8b3369a6f
Reviewed-on: https://chromium-review.googlesource.com/186605
Reviewed-by: Grant Grundler <grundler@chromium.org>
Commit-Queue: Luigi Semenzato <semenzato@chromium.org>
Tested-by: Luigi Semenzato <semenzato@chromium.org>
1 file changed
tree: e37c449b302bae5cd81c9e63d06ebb416aa13233
  1. crash_reporter/