DSE Search logging

Information about DSE Search logging.

DSE Search logs errors, warnings, debug, trace, and info messages in the system log: /var/log/cassandra/system.log.

Search logging classes

To add debug logging to a class permanently using the logback framework, use nodetool setlogginglevel to check you have the right class before you set it in the logback.xml file in installation_location/conf. Modify to include the following line or similar at the end of the file:
<logger name="org.apache.cassandra.gms.FailureDetector" level="DEBUG"/>
Restart the node to invoke the change.
Classes for DSE Search :
Admin operations
com.datastax.bdp.search.solr.transport.protocols.admin.ReindexRequestProcessor
       com.datastax.bdp.search.solr.transport.protocols.admin.CoreAdminRequestProcessor
       com.datastax.bdp.search.solr.core.SolrCoreResourceManager
       com.datastax.bdp.search.solr.core.CassandraResourceLoader
       org.apache.solr.core.SolrCore
Indexing
com.datastax.bdp.search.solr.log.EncryptedCommitLog
       com.datastax.bdp.search.solr.metrics.SolrMetricsEventListener
       com.datastax.bdp.search.solr.AbstractSolrSecondaryIndex
       org.apache.lucene.store.crypto.EncryptedFSDirectory
       org.apache.lucene.index.IndexWriter
       org.apache.lucene.index.DocumentsWriter
       org.apache.lucene.store.crypto.ThreadLocalIndexEncryptionConfiguration
       org.apache.lucene.index.AutoExpungeDeletesTieredMergePolicy
Queries
com.datastax.bdp.search.solr.transport.protocols.query.ShardRequestProcessor
       com.datastax.bdp.search.solr.metrics.QueryMetrics
       com.datastax.bdp.search.solr.auth.DseHttpRequestAuthenticatorFactory
       com.datastax.bdp.search.solr.handler.shard.modern.ModernShardHandler
       com.datastax.bdp.search.solr.dht.ShardRouter
       com.datastax.bdp.search.solr.transport.protocols.query.RowsRequestProcessor
       com.datastax.bdp.search.solr.transport.protocols.update.AbstractUpdateCommandProcessor
       org.apache.solr.search.SolrIndexSearcher
       org.apache.solr.handler.component.SearchHandler
       org.apache.solr.core.SolrCore
       org.apache.solr.handler.component.QueryComponent

See Configuring audit logging to a logback log file.

Accessing the validation log

Validation errors occur when non-indexable data is sent from nodes other than DSE Search nodes. The validation errors are logged in:
/var/log/cassandra/solrvalidation.log

For example, if a node that is not running DSE Search puts a string in a date field, an exception is logged for that column when the data is replicated to the search node.

The location of the logback.xml file depends on the type of installation:
Installer-Services and Package installations /etc/dse/cassandra/logback.xml
Installer-No Services and Tarball installations install_location/resources/cassandra/conf/logback.xml