The proposal looks very interesting and useful. Thanks for bringing this up.
I wonder how we will be able to enforce such way of logging once we are done with the switch. There will be some education for contributors and committers about how to use the Logger. Enrico Il Mer 4 Ago 2021, 05:52 Shivji Kumar Jha <shiv4...@gmail.com> ha scritto: > +1 > > This is be really helpful in debugging. > > Regards, > Shiv > > On Wed, 4 Aug 2021 at 6:32 AM, Jia Zhai <zhaiji...@gmail.com> wrote: > > > +1. this will help a lot for debugging > > > > Best Regards. > > > > > > Jia Zhai > > > > Beijing, China > > > > Mobile: +86 15810491983 > > > > > > > > > > On Wed, Aug 4, 2021 at 1:41 AM Jerry Peng <jerry.boyang.p...@gmail.com> > > wrote: > > > > > Ivan, > > > > > > Awesome proposal! Structured logging like this will definitely help > > Pulsar > > > be easier to debug. > > > > > > Best, > > > > > > Jerry > > > > > > On Tue, Aug 3, 2021 at 4:33 AM Ivan Kelly <iv...@apache.org> wrote: > > > > > > > Hi folks, > > > > > > > > I've just created a PIP in the wiki to add structured documented > > > > logging for Pulsar. > > > > More often than not, when debugging an incident in Pulsar we find > that > > > > information we need is not logged, at which point we have to resort > to > > > > digging into zookeeper directly or rely on gut feelings of people who > > > > have seen this problem before. > > > > > > > > This PIP is a proposal to fix that by overhauling the control plane > > > > logging to carry much more context about the state of the system. > Part > > > > of the proposal is also to document the events that are logged as a > > > > means to surface the domain knowledge currently locked in the heads > of > > > > a few people. > > > > > > > > > > > > > > https://github.com/apache/pulsar/wiki/PIP-89:-Structured-document-logging > > > > > > > > I look forward to your questions/feedback. > > > > > > > > Cheers, > > > > Ivan > > > > > > > > > > -- > > Regards, > Shivji Kumar Jha > http://www.shivjijha.com/ > +91 8884075512 >