summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-02-10 18:14:57 +0100
committerDenys Vlasenko <dvlasenk@redhat.com>2011-02-10 18:14:57 +0100
commitc5fc71bbf9e07ab0fbdb113522d07ce44b655456 (patch)
treeba0a215b63f1253188a20b092dd73c252d433b59
parent2abf0fc078221715abbd20c8451d300eaf787848 (diff)
downloadabrt-c5fc71bbf9e07ab0fbdb113522d07ce44b655456.tar.gz
abrt-c5fc71bbf9e07ab0fbdb113522d07ce44b655456.tar.xz
abrt-c5fc71bbf9e07ab0fbdb113522d07ce44b655456.zip
update doc/TODO_crash_dump_fields
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
-rw-r--r--doc/TODO_crash_dump_fields25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/TODO_crash_dump_fields b/doc/TODO_crash_dump_fields
index 86112319..39ae3b8c 100644
--- a/doc/TODO_crash_dump_fields
+++ b/doc/TODO_crash_dump_fields
@@ -104,3 +104,28 @@ for (each crash_data element)
Can it be done better, so that we dont need to rewrite each of these places
every time we add a new field?
+
+
+ "log" element
+
+Currently, we only save last reporter's message into "message" element.
+
+Is there a value in replacing/extending this functionality with multi-line,
+timestamped log saved in dump dir? Something along the lines of:
+
+YYYY-MM-DD hh:mm:ss <stat> <text>
+
+<text> is output lines of run_event_on_FOO() calls.
+One special case is when reporter exits (or dies from signal like SIGSEGV)
+without producing any output. In this case, we ourself may generate
+a message like "abrt-action-bugzilla: killed byu SIGSEGV".
+
+<stat> is a failure indicator. We already consider last line logged
+from event processing as its success/failure message, but we don't save
+success/failure status per se. <stat> is this place.
+In the most simple case it may be a '+' or '-' char, or space
+for non-final log messages.
+
+In order to not overflow the log, I propose to delete oldest lines
+when we reach, say, 10000 lines (which limits it to ~100k).
+