Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Feature Request] Increase log buffer length

Aperta
#3,160 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
52/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
java
Ambito
observability

Direzione di ricerca

Start with LogbackBufferLoggerAdaptor.java and locate the buffer length currently set to 50 and the logic that removes older lines. Investigate the RAM impact and potential errors of increasing the limit to around 500–600; done means the limit is safely increased so crucial log lines are less likely to be snipped.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Is your feature request related to a problem? Please describe.
So in LogbackBufferLoggerAdaptor.java there is a buffer length set that, when it is gone over, leads to the logic we see in the debug logs of "==== x lines removed =====". This is something we, in-app, have no control over, and it leads to irksome debugging sometimes, as lines deemed "not important" actually turn out to be crucial to the debug process...

The current buffer length?... 50... that might have been fine 13 years ago, but we have instances during debugging now where well over 150 log lines are snipped due to this limit...

Describe the solution you'd like
I propose, as a "quick fix" we investigate the effect of increasing the log buffer length (even by say 10x to 500-600) in terms of RAM and other potential errors, and then see if we can't just change the length permanently to the new higher value.

Describe alternatives you've considered
Maybe direct printing of all logs to a log file without doing the snipping? So at the very least there is always an "unsnipped" version of the logs?

Lingua principale
Java
Stelle
3.1k
Fork
703
Merge medio
21h 26m
PR unite (30g)
23

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di openrocket/openrocket

Tutte le issue di openrocket/openrocket

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.