0

在执行以下命令时,我收到以下错误

./tsdb mkmetric mymetric

SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Exception in thread "main" java.lang.ClassCastException: org.slf4j.impl.Log4jLoggerAdapter cannot be cast to ch.qos.logback.classic.Logger
at net.opentsdb.tools.CliOptions.honorVerboseFlag(CliOptions.java:161)
at net.opentsdb.tools.CliOptions.parse(CliOptions.java:82)
at net.opentsdb.tools.UidManager.main(UidManager.java:97)
4

1 回答 1

0

作为一种解决方法,您可以尝试添加 --verbose 参数。

./tsdb mkmetric mymetric --verbose=class
于 2015-07-21T13:57:36.823 回答