AbstractEntityConditionCache currently has a warning log message when the put method is called for an entity that has "never-cache" set to true. These messages literally flood our ofbiz log files on our servers because it is our standard practice to make heavy use of the application caching in Ofbiz.
Would anyone have issue with changing this from a warning to an info message? My line of thinking here, is it is good for people to make entity calls with cache set to true and they should not have to consider the current configuration of the entity. If the entity happens to turn off caching, then an info message saying it had done so is probably sufficient. There are other similar messages such as storing by primary key that I would change from warning -> info as well. Internally we preferred this approach over configuration in log4j. The javadoc from log4j defined WARN as "The WARN level designates potentially harmful situations." and it does not seem to me that in this scenario that is true. Thoughts? -- View this message in context: http://n4.nabble.com/Log-level-for-entity-with-never-cache-set-to-true-tp1751748p1751748.html Sent from the OFBiz - Dev mailing list archive at Nabble.com.
