You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2021/01/12 10:58:59 UTC

[GitHub] [flink] 1996fanrui commented on a change in pull request #14614: [FLINK-20911][state-backend-rocksdb] Support configuration of RocksDB log level

1996fanrui commented on a change in pull request #14614:
URL: https://github.com/apache/flink/pull/14614#discussion_r555685613



##########
File path: flink-state-backends/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBConfigurableOptions.java
##########
@@ -64,6 +71,20 @@
                             "The maximum number of open files (per TaskManager) that can be used by the DB, '-1' means no limit. "
                                     + "RocksDB has default configuration as '-1'.");
 
+    public static final ConfigOption<InfoLogLevel> LOG_LEVEL =
+            key("state.backend.rocksdb.log.level")
+                    .enumType(InfoLogLevel.class)
+                    .noDefaultValue()
+                    .withDescription(String.format(
+                            "The specified log level for DB. Candidate log level is %s, %s, %s, %s, %s or %s, "
+                                    + "and Flink choose '%s' as default style. "

Review comment:
       @Myasuka Thanks for your review. I have removed.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org