gridgain / gridgain-old

267 stars 85 forks source link

Quiet warnings on a per cache basis #26

Open ghost opened 10 years ago

ghost commented 10 years ago

I often see warnings like this when the grid starts up...

[16:16:40,893][WARN ][main][GridCacheProcessor] Query indexing is disabled (queries will not work) for cache: 'atomic'. To enable change GridCacheConfiguration.isQueryIndexEnabled() property.

sometimes this is very useful to catch configuration inefficiencies, but if i conclude this is by design, it would be nice to disable such warnings on a per cache configuration basis, instead of globally which i believe is currently the case. Thoughts?

dsetrakyan commented 10 years ago

Interesting suggestion, however I am not sure how much of inconvenience is this warning. On the other hand, I think it adds value to see that indexing is disabled, even when it is on purpose.

If anyone else agrees with this issue, please comment here.