Apache Lucene open-source search software
SOLR-5112: Show full message in Admin UI Logging View
Stefan Matheisb755bef24f4e
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex 590c8161e03..1921ccdaa41 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -152,6 +152,9 @@ Bug Fixes* SOLR-4817 Solr should not fall back to the back compat built in solr.xml in SolrCloudmode (Erick Erickson)+* SOLR-5112: Show full message in Admin UI Logging View (Matthew Keeney via+ steffkes)+Optimizations----------------------diff --git a/solr/webapp/web/js/scripts/logging.js b/solr/webapp/web/js/scripts/logging.jsindex 7403ff9a600..05f61b3f318 100644--- a/solr/webapp/web/js/scripts/logging.js+++ b/solr/webapp/web/js/scripts/logging.js@@ -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 colspancontent += '<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";}