aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src/observer_html_lib.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2015-02-19 13:29:09 +0100
committerDan Gudmundsson <[email protected]>2015-02-19 13:29:09 +0100
commit7789de9b616a46f81195eadec26ff40b8306ecef (patch)
tree3ffcbeef203272de235dd36a0af737fe2efbdafb /lib/observer/src/observer_html_lib.erl
parenteac3e33a3c518eee8b177183a2312a9a30fd4cc0 (diff)
parent6fe02e14d95e849d55d37d5449e835bcb8753da2 (diff)
downloadotp-7789de9b616a46f81195eadec26ff40b8306ecef.tar.gz
otp-7789de9b616a46f81195eadec26ff40b8306ecef.tar.bz2
otp-7789de9b616a46f81195eadec26ff40b8306ecef.zip
Merge branch 'dgud/erlang/pr/116'
* dgud/erlang/pr/116: observer: Add SASL log view for processes
Diffstat (limited to 'lib/observer/src/observer_html_lib.erl')
-rw-r--r--lib/observer/src/observer_html_lib.erl8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/observer/src/observer_html_lib.erl b/lib/observer/src/observer_html_lib.erl
index c279218707..53197078cf 100644
--- a/lib/observer/src/observer_html_lib.erl
+++ b/lib/observer/src/observer_html_lib.erl
@@ -60,7 +60,8 @@ expandable_term_body(Heading,[],_Tab) ->
"StackDump" -> "No stack dump was found";
"Dictionary" -> "No dictionary was found";
"ProcState" -> "Information could not be retrieved,"
- " system messages may not be handled by this process."
+ " system messages may not be handled by this process.";
+ "SaslLog" -> "No log entry was found"
end];
expandable_term_body(Heading,Expanded,Tab) ->
Attr = "BORDER=0 CELLPADDING=0 CELLSPACING=1 WIDTH=100%",
@@ -102,7 +103,10 @@ expandable_term_body(Heading,Expanded,Tab) ->
element(1, lists:mapfoldl(fun(Entry, Even) ->
{proc_state(Tab, Entry,Even),
not Even}
- end, true, Expanded))]);
+ end, true, Expanded))]);
+ "SaslLog" ->
+ table(Attr,
+ [tr("BGCOLOR=white",[td("ALIGN=left", pre(href_proc_port(Expanded)))])]) ;
_ ->
table(Attr,
[tr(