如何在cassandra日志中删除下面的消息?

h79rfbju  于 2021-06-14  发布在  Cassandra
关注(0)|答案(1)|浏览(362)

我最近将datastax enterprise从4.8.16升级到5.0.15。我们使用明文格式的密码验证。但下面的消息不断出现在日志中。

2018-12-11 09:50:04.446 WARN   [SharedPool-Worker-5 - com.datastax.bdp.cassandra.auth.DseAuthenticator:411] Plain text authentication without client / server encryption is strongly discouraged
2018-12-11 09:50:37.465 WARN   [SharedPool-Worker-1 - com.datastax.bdp.cassandra.auth.DseAuthenticator:411] Plain text authentication without client / server encryption is strongly discouraged
2018-12-11 09:50:49.472 WARN   [SharedPool-Worker-4 - com.datastax.bdp.cassandra.auth.DseAuthenticator:411] Plain text authentication without client / server encryption is strongly discouraged
2018-12-11 09:55:43.148 WARN   [SharedPool-Worker-2 - com.datastax.bdp.cassandra.auth.DseAuthenticator:411] Plain text authentication without client / server encryption is strongly discouraged
2018-12-11 09:57:50.736 WARN   [SharedPool-Worker-3 - com.datastax.bdp.cassandra.auth.DseAuthenticator:411] Plain text authentication without client / server encryption is strongly discouraged
2018-12-11 09:59:33.013 WARN   [SharedPool-Worker-3 - com.datastax.bdp.cassandra.auth.DseAuthenticator:411] Plain text authentication without client / server encryption is strongly discouraged
2018-12-11 10:00:04.450 WARN   [SharedPool-Worker-3 - com.datastax.bdp.cassandra.auth.DseAuthenticator:411] Plain text authentication without client / server encryption is strongly discouraged
2018-12-11 10:00:37.469 WARN   [SharedPool-Worker-3 - com.datastax.bdp.cassandra.auth.DseAuthenticator:411] Plain text authentication without client / server encryption is strongly discouraged
2018-12-11 10:00:49.475 WARN   [SharedPool-Worker-4 - com.datastax.bdp.cassandra.auth.DseAuthenticator:411] Plain text authentication without client / server encryption is strongly discouraged
2018-12-11 10:05:43.364 WARN   [SharedPool-Worker-2 - com.datastax.bdp.cassandra.auth.DseAuthenticator:411] Plain text authentication without client / server encryption is strongly discouraged
2018-12-11 10:07:50.840 WARN   [SharedPool-Worker-3 - com.datastax.bdp.cassandra.auth.DseAuthenticator:411] Plain text authentication without client / server encryption is strongly discouraged
2018-12-11 10:09:33.658 WARN   [SharedPool-Worker-2 - com.datastax.bdp.cassandra.auth.DseAuthenticator:411] Plain text authentication without client / server encryption is strongly discouraged

如何摆脱这个消息,因为我现在不感兴趣使用加密?

p4rjhz4m

p4rjhz4m1#

您需要设置:

authentication_options:
    plain_text_without_ssl: allow

在你的 dse.yaml 配置文件。可能的设置有:

block  - block the request with an authentication error
warn   - log a warning about the request but allow it to continue (default)
allow  - allow the request without any warning

相关问题