mirror of https://github.com/apache/lucene.git
SOLR-5112: Show full message in Admin UI Logging View
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1517769 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
340d8c4071
commit
b755bef24f
|
@ -152,6 +152,9 @@ Bug Fixes
|
|||
* SOLR-4817 Solr should not fall back to the back compat built in solr.xml in SolrCloud
|
||||
mode (Erick Erickson)
|
||||
|
||||
* SOLR-5112: Show full message in Admin UI Logging View (Matthew Keeney via
|
||||
steffkes)
|
||||
|
||||
Optimizations
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -334,8 +334,8 @@ var load_logging_viewer = function()
|
|||
var lines = doc.message.split( "\n" );
|
||||
if( 1 < lines.length )
|
||||
{
|
||||
doc.message = lines[0];
|
||||
doc.trace = doc.message;
|
||||
doc.message = lines[0];
|
||||
delete lines;
|
||||
}
|
||||
}
|
||||
|
@ -360,14 +360,7 @@ var load_logging_viewer = function()
|
|||
if( has_trace )
|
||||
{
|
||||
content += '<tr class="trace">' + "\n";
|
||||
|
||||
// (1) with colspan
|
||||
content += '<td colspan="4"><pre>' + doc.trace.esc() + '</pre></td>' + "\n";
|
||||
|
||||
// (2) without colspan
|
||||
//content += '<td> </td><td> </td><td> </td>';
|
||||
//content += '<td>' + doc.trace.esc().replace( /\n/g, '<br>' ) + '</td>' + "\n";
|
||||
|
||||
content += '</tr>' + "\n";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue