Closed kriston13 closed 5 years ago
Sorry to confusing.
You should use like this. (README.md)
// Require module
var SolrNode = require('solr-node');
// Create client
var client = new SolrNode({
host: '127.0.0.1',
port: '8983',
core: 'test',
protocol: 'http'
});
// Set logger level (can be set to DEBUG, INFO, WARN, ERROR, FATAL or OFF)
require('log4js').getLogger('solr-node').level = 'DEBUG';
Based on this: http://godong9.github.io/solr-node/docs/Client.html
We are creating a new client in this manner:
We're then setting our environment variable
SOLR_LOG_LEVEL
toDEBUG
, but we're not seeing any logging. We've also hardcoding withALL
, and also not getting any logging.Any suggestions on what we're doing wrong?
Thank you