Log4j2 compatibility
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
調査の方向性
ソースファイルもテストも指定されていません。まず、リンクされた pull request の議論と、既存の Logback および Java Util Logging の実装を読み、その後 Log4j2 の設定リロード動作を調査してください。設定変更が上書きされることなく Log4j2 のサポートが確実に機能し、動的なアプローチまたは明示的に設定されたアプローチのいずれかを使用できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Context
https://github.com/clojure-emacs/cider-nrepl/pull/773#discussion_r1226611259
Brief
Right now this works with Logback (which I am using) and Java Util Logging. There is some code for Log4j2 that passes some of the tests, but I couldn't make it working reliably. The issue seems that Log4j2 reloads its configuration when a new appender is added, and wipes out the changes. I tried most of the suggestions on Stackoverflow to get it working, but I'm giving up on this one. I already spent too much time on this. So, I propose to drop that code into a branch of the separated library. If anyone knows how to get it working, I'm willing to help, but I won't investigate this beast any further.
Possible solutions
- Persevere through the original approach
- Try a less dynamic approach:
Would it help if the nrepl logger wasn't dynamically added?
e.g. one could configure it such that it's instantiated as the JVM starts.
This would probably involve a .xml file or a user.clj file.
...this would not invalidate the current, dynamic approach, I'd see it instead of an additional, opt-in manner to run things.
It might, but I believe for this to work we would need to use gen-class to create an appender class that implements some Log4j2 interface and ship it, so that it can be referenced in the configuration file.
And then somehow connect this with the atom to which events are added.
- 主要言語
- Clojure
- スター
- 2
- フォーク
- 1
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
clojure-emacs/logjam のほかの issue
-
Deadlockオープン
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
clojure-emacs/logjam#12 · コメント 4 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
clojure-emacs/logjam#11 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
clojure-emacs/logjam#9 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
clojure-emacs/logjam#5 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
clojure-emacs/logjam#4 · コメント 1 件 ·
clojure-emacs/logjam の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
clojure-emacs/cider#4235 ·
メンテナーはふだん 1 日以内に返信
-
needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
`batch-transact-with-temp-conn!` leaves `:max-tx` behind its datoms, so the next transaction reuses a tx id対応中かも @tiensonqin が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
Server logs every websocket send at DEBUG since #8844, adding lag under load対応中かも @matthewlehew が 1 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
.Team/Graphy
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
metabase/metabase#87741 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信