Log4j2 compatibility
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
Línea de trabajo
No se nombra ningún archivo fuente ni ninguna prueba. Empieza leyendo la discusión del pull request enlazado y las implementaciones existentes de Logback y Java Util Logging; después, investiga el comportamiento de recarga de la configuración de Log4j2. Se considera terminado cuando la compatibilidad con Log4j2 funciona de forma fiable sin que se pierdan los cambios de configuración, usando un enfoque dinámico o uno configurado explícitamente.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Clojure
- Estrellas
- 2
- Forks
- 1
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de clojure-emacs/logjam
-
DeadlockAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 20/100
clojure-emacs/logjam#12 · 4 comentarios ·
-
Record file/ns/line/col infoAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
clojure-emacs/logjam#11 ·
-
Record a friendly timestampAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
clojure-emacs/logjam#9 ·
-
Test in a production-like serverAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
clojure-emacs/logjam#5 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
clojure-emacs/logjam#4 · 1 comentario ·
Todos los issues de clojure-emacs/logjam
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
clojure-emacs/cider#4235 ·
Los mantenedores suelen responder en 1 día
-
needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
`batch-transact-with-temp-conn!` leaves `:max-tx` behind its datoms, so the next transaction reuses a tx idPosiblemente ocupada @tiensonqin la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
Server logs every websocket send at DEBUG since #8844, adding lag under loadPosiblemente ocupada @matthewlehew la tomó hace 1 día. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
.Team/Graphy
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
metabase/metabase#87741 · 1 comentario ·
Los mantenedores suelen responder en 1 día