Github user shardul-cr7 commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2948#discussion_r236998844
--- Diff: docs/faq.md ---
@@ -216,20 +216,18 @@
TimeZone.setDefault(TimeZone.getTimeZone("Asia/Shanghai"))
## How to check LRU cache memory footprint?
To observe the LRU cache memory footprint in the logs, configure the below
properties in log4j.properties file.
```
-log4j.logger.org.apache.carbondata.core.memory.UnsafeMemoryManager = DEBUG
log4j.logger.org.apache.carbondata.core.cache.CarbonLRUCache = DEBUG
```
-These properties will enable the DEBUG log for the CarbonLRUCache and
UnsafeMemoryManager which will print the information of memory consumed using
which the LRU cache size can be decided. **Note:** Enabling the DEBUG log will
degrade the query performance.
+This properties will enable the DEBUG log for the CarbonLRUCache and
UnsafeMemoryManager which will print the information of memory consumed using
which the LRU cache size can be decided. **Note:** Enabling the DEBUG log will
degrade the query performance. Ensure carbon.max.driver.lru.cache.size is
configured to observe the current cache size.
--- End diff --
Actually we are now just showing one log for CarbonLRUCache.So *these* is
is not correct usage. I'll change properties to property.
---