This repository has been archived by the owner on May 3, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
btree: m0_btree_lrulist_set_lru_config() logs are noisy
m0_btree_lrulist_set_lru_config() logs some statistical information when invoked to console. Which is typically noisy for a user unlike a developer. e.g. ``` [root@ssc-vm-rhev4-2612 ~]# m0cp -l 'inet:tcp:10.230.241.94@22501' -H 'inet:tcp:10.230.241.94@22001' -p '<0x7000000000000001:0x0>' -P '<0x7200000000000001:0x4>' singlenode.yaml motr[3913493]: 7020 NOTICE [lib/uuid.c:143:m0_node_uuid_init] Node uuid: e884506c-adb1-5015-7e92-3ad8e4873ac4 motr[3913493]: 7010 NOTICE [be/btree.c:1904:m0_btree_lrulist_set_lru_config] Btree LRU List Watermarks: Low - 2147483648 Mid - 3221225472 High - 4294967296 motr[3913493]: 7010 NOTICE [be/btree.c:1906:m0_btree_lrulist_set_lru_config] Btree LRU List trickle release: false ``` Solution: Change log level for logs printed by m0_btree_lrulist_set_lru_config() to M0_INFO from M0_NOTICE. Signed-off-by: Mandar Sawant <[email protected]>
- Loading branch information