Akkaと一緒に作業している間、私は単純なコマンドラインアプリを実装しました。
しかし、Akkaは次のようにコマンドラインにもステートメントを表示します。
[GENERIC] [27.10.11 22:57] [RemoteClientStarted([email protected],/127.0.0.1:3000)]
[GENERIC] [27.10.11 22:57] [RemoteClientConnected([email protected],/127.0.0.1:3000)]
[GENERIC] [27.10.11 22:57] [RemoteClientShutdown([email protected],/127.0.0.1:3000)]
[GENERIC] [27.10.11 22:57] [RemoteClientDisconnected([email protected],/127.0.0.1:3000)]
このデバッグ出力を無効にする(または別の場所にリダイレクトする)方法はありますか?
[GENERIC]ログタグを非表示にするいくつかのことを行いました。これがすべて必要なのかどうかはわかりませんが、うまくいくようです。
Added the following to my akka.conf
event-handlers = ["akka.event.slf4j.Slf4jEventHandler"]
event-handler-level = "WARNING"
正しいakka.confを変更していることを確認してください。AKKA_HOMEが指定されているか、間違ってakka.confをクラスパスにドロップした可能性があります。
Also made the following changes at the bottom of my logback.xml
Your logback.xml
should live right next to your akka.conf