Hello
When running hbase shell I always got the unuseful info logs such as:
hbase:003:0> describe 'test'
2023-02-08 15:38:19,603 INFO [main] client.ConnectionImplementation
(ConnectionImplementation.java:isKeepAliveMasterConnectedAndRunning(2004))
- Getting master connection state from TTL Cache
2023-02-08 15:38:19,603 INFO [main] client.ConnectionImplementation
(ConnectionImplementation.java:isKeepAliveMasterConnectedAndRunning(2004))
- Getting master connection state from TTL Cache
Table test is ENABLED
2023-02-08 15:38:19,677 INFO [main] client.ConnectionImplementation
(ConnectionImplementation.java:isKeepAliveMasterConnectedAndRunning(2004))
- Getting master connection state from TTL Cache
2023-02-08 15:38:19,678 INFO [main] client.ConnectionImplementation
(ConnectionImplementation.java:lambda$masterConnectionStateSupplier$1(420))
- Getting master state using rpc call
I have setup these options in log4j2.properties:
rootLogger = ${sys:hbase.root.logger:-WARN,console}
logger.hbase.name = org.apache.hadoop.hbase
logger.hbase.level = ERROR
The info logs still appear in the terminal.
Can you help?
Thanks