Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(255)

Unified Diff: crash_reporter_logs.conf

Issue 5814001: crash-reporter: Capture and send recent update_engine logs when it crashes (Closed) Base URL: http://git.chromium.org/git/crash-reporter.git@master
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: crash_reporter_logs.conf
diff --git a/crash_reporter_logs.conf b/crash_reporter_logs.conf
new file mode 100644
index 0000000000000000000000000000000000000000..221554dfb8b57b36aacd01875ddb103bb1a1b0e2
--- /dev/null
+++ b/crash_reporter_logs.conf
@@ -0,0 +1,8 @@
+# Be careful to only run common unix commands here as these commands
petkov 2010/12/13 19:27:57 it doesn't hurt to add a Chromium OS copyright.
kmixter1 2010/12/14 03:39:49 Done.
+# will be run when a crash has recently occurred and we should avoid
petkov 2010/12/13 19:27:57 briefly document the format somewhere -- either he
kmixter1 2010/12/14 03:39:49 Done.
+# running anything that might cause another crash.
+update_engine:tail -c 50000 /var/log/update_engine.log
petkov 2010/12/13 19:27:57 since update engine starts a new log every time it
kmixter1 2010/12/14 03:39:49 Done.
+
+# The following rules are only for testing purposes.
+crash_log_test:echo hello world
+crash_log_recursion_test:sleep 1 && /home/autotest/tests/crash_log_recursion_test

Powered by Google App Engine
This is Rietveld 408576698