Skip to content

Apache Lucene open-source search software

SOLR-3238: fix logging page to work with multicore setup

Ryan McKinleyeb92d7ac8817
diff --git a/solr/webapp/web/js/scripts/logging.js b/solr/webapp/web/js/scripts/logging.js
index 784a091d7dd..87804934ba5 100644
--- a/solr/webapp/web/js/scripts/logging.js
+++ b/solr/webapp/web/js/scripts/logging.js
@@ -228,7 +228,8 @@ sammy.get
/^#\/~(logging)$/,
function( context )
{
- loglevel_path = app_config.solr_path + '/admin/logging';
+ var core_basepath = $( 'li[data-basepath]', app.menu_element ).attr( 'data-basepath' );
+ loglevel_path = core_basepath + '/admin/logging';
var content_element = $( '#content' );
content_element