Add debug log with more info.
@@ -288,8 +288,13 @@ public class StoreQueryParser {
return constructOptimizedStoreQueryRuntime(table, storeQuery, siddhiAppContext, tableMap,
queryName, metaPosition, onCondition, metaStreamEvent, variableExpressionExecutors);
} catch (QueryableRecordTableException e) {
- log.info("Could not to create optimized Store Query Runtime as no query configuration was found " +
- "for table: " + table.getTableDefinition().getId());
+ if (log.isDebugEnabled()) {
+ log.debug("Could not to create optimized Store Query Runtime for table: "
+ + table.getTableDefinition().getId() + ". Reason: " + e.getMessage(), e);
+ } else {
+ log.info("Could not to create optimized Store Query Runtime for table: "
+ + table.getTableDefinition().getId());
+ }
return constructRegularStoreQueryRuntime(table, storeQuery, siddhiAppContext, tableMap, windowMap,
queryName, metaPosition, onCondition, metaStreamEvent, variableExpressionExecutors,
lockWrapper);
