vaadin / flow

Vaadin Flow is a Java framework binding Vaadin web components to Java. This is part of Vaadin 10+.
Apache License 2.0
618 stars 167 forks source link

Send dev server output to normal log output #12281

Closed Artur- closed 2 years ago

Artur- commented 3 years ago

The dev server process currently writes its output character by character to stdout. This doesn't work very well when something is logging at the same time. It is a tad hard to see what the problem is e.g. in this case

u[r1rmentC.oCmopmplleetatbaleFbultuerFe$uUtnuiWrhee.njCaovmap:l4ete8.3tyF[imre()C
omp le t ab leFuture[.jav1am:8a41t)
    at  joarvga..ebascel/jaivpas.uteil..cjoentcurtryent..Csomeprlveteablre.FuHtturet$pCComhpalentnieon.le.xecl(Caommpbletdaable$Fuhturae.jnadva:l48e3)
$1  at ava[.b1asema/tjav[.utmil.c:oncu rrent.Fr[kJo1i;nTask3.1dmoExjeac(vForakxJoi.nTsaesk.rjavva:l37e3)
t   .at Sjeavra.bavslee/tjEavax.cutielp.tcoinocnu:r rceonmt..vFaoardkiJno.ifnlPoowo.ls$eWrovrekrQ.uSeeurev.toipcLeevelEExxecc(FeorkpJtoiinoPoonl:.ja vaj:11a8v2)a
.   lat ajanva.bga.seI/jlalva.eutgil.acolncSutrartente.FEoxrkJcoienPopotl.sicaon(Fno:rk JoiVniPootle. jaevxa:i1t65e5d)
 p  arte jmaavat.ubasree/ljayv.u[tmil.
conc urrjeanvt.aF.or k J oi nPol[.1rumnaWto[kmer o(rFgo.rekclJiopisneP.ojoelt.tjya.vsa:e1r6v2e2r)
.ha antd ljearv.aHa.nbdalseer/Cjoalvlaec.tuitoinl..hcaonncdulrerent. For(ko[i1nWmoHrtketrpTChhraenadn.erlu.nj(aFvoar:k3J8o8i[Wmo)rke rTh(r[a1dm.Hjaanvdal:e1r6C5o)ll
ection.java:162)

The dev server should instead output line by line through the normal logger

vaadin-bot commented 2 years ago

This ticket/PR has been released with platform 22.0.0.beta2 and is also targeting the upcoming stable 22.0.0 version.