You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by st...@apache.org on 2013/08/27 11:49:22 UTC
svn commit: r1517769 - in /lucene/dev/trunk/solr: CHANGES.txt
webapp/web/js/scripts/logging.js
Author: steffkes
Date: Tue Aug 27 09:49:21 2013
New Revision: 1517769
URL: http://svn.apache.org/r1517769
Log:
SOLR-5112: Show full message in Admin UI Logging View
Modified:
lucene/dev/trunk/solr/CHANGES.txt
lucene/dev/trunk/solr/webapp/web/js/scripts/logging.js
Modified: lucene/dev/trunk/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/CHANGES.txt?rev=1517769&r1=1517768&r2=1517769&view=diff
==============================================================================
--- lucene/dev/trunk/solr/CHANGES.txt (original)
+++ lucene/dev/trunk/solr/CHANGES.txt Tue Aug 27 09:49:21 2013
@@ -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
----------------------
Modified: lucene/dev/trunk/solr/webapp/web/js/scripts/logging.js
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/webapp/web/js/scripts/logging.js?rev=1517769&r1=1517768&r2=1517769&view=diff
==============================================================================
--- lucene/dev/trunk/solr/webapp/web/js/scripts/logging.js (original)
+++ lucene/dev/trunk/solr/webapp/web/js/scripts/logging.js Tue Aug 27 09:49:21 2013
@@ -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";
}