diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2006-08-18 10:52:33 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2006-08-18 10:52:33 +0000 |
commit | 2d2656929653d128d0d4e5072422cb16a9d66453 (patch) | |
tree | c2968e4f04428d136cd71207ae64cabdafe930e1 /docs/random/ensonic | |
parent | d0190384279a8f4d9a891647336820aa46910314 (diff) |
docs/random/ensonic/logging.txt: update ideas
Original commit message from CVS:
* docs/random/ensonic/logging.txt:
update ideas
* gst/gstinfo.c: (gst_debug_log_default):
reorder fields, save some columns, add optinal color codes for log-
levels
Diffstat (limited to 'docs/random/ensonic')
-rw-r--r-- | docs/random/ensonic/logging.txt | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/docs/random/ensonic/logging.txt b/docs/random/ensonic/logging.txt index 5f6765e37..88049a5b5 100644 --- a/docs/random/ensonic/logging.txt +++ b/docs/random/ensonic/logging.txt @@ -23,18 +23,18 @@ function ----------------------------------------------------------------------- message -----------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^ new proposed format: - DEBUG GST_QOS( 3340 - 0x8134bc0 - 0:00:00.848191000) gstbasesink.c:1431:gst_base_sink_do_render_stats:<xvimagesink0> avg_render: 0:00:00.009044000 -log_level_name --^^^^^ | | | | | | | | | | | | | -log_category ------------------------^^^^^^^| | | | | | | | | | | -process-id ----------------------------------^^^^^ | | | | | | | | | -thread-id -------------------------------------------^^^^^^^^^ | | | | | | | -timestamp -------------------------------------------------------^^^^^^^^^^^^^^^^^ | | | | | -file:line -------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^ | | | -function ----------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | -message -----------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^ + 0:00:00.848191000 3340 0x8134bc0 DEBUG GST_QOS gstbasesink.c:1431:gst_base_sink_do_render_stats:<xvimagesink0> avg_render: 0:00:00.009044000 +timestamp -------^^^^^^^^^^^^^^^^^ | | | | | | | | | | | | | +process-id ------------------------^^^^^ | | | | | | | | | | | +thread-id -------------------------------^^^^^^^^^ | | | | | | | | | +log_level_name ------------------------------------^^^^^ | | | | | | | +log_category ----------------------------------------------------------^^^^^^^ | | | | | +file:line ---------------------------------------------------------------------^^^^^^^^^^^^^^^^^^ | | | +function -----------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | +message ------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^ something like: - sed -e "s/([0-9xa-f:. -]*) / /" -e "s/0x[0-9a-f]\{7,8\}//g" + cut -c35- | sed -e "s/0x[0-9a-f]\{7,8\}//g" should make logs easily 'diffable'. == color code level == @@ -47,3 +47,10 @@ DEBUG : turkis LOG : gray NONE : gray +== log sources == + +What about differentating between log sources: + core + elements + application + |