elastic / elastic/apm-agent-java

Implement net.bytebuddy.asm.Advice.ExceptionHandler to log exceptions in agent log

Aperta
#841 3 commenti 0 reazioni 1 assegnatario Rivendicata da @eyalkoren Vedi su GitHub
diagnostics logging technical-debt
Lingua principale
Java
Stelle
594
Fork
338
Merge medio
1g 13h
PR unite (30g)
25

Descrizione

Currently, we are using `net.bytebuddy.asm.Advice.ExceptionHandler.Default#PRINTING` which means the exceptions may not be in the agent logs. We should create a custom `net.bytebuddy.asm.Advice.ExceptionHandler` which logs the exception with the agent logger.

If possible make that generic enough so that we can contribute that to Byte Buddy

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.