[Twisted-Python] Getting nice logging outputs in py.test

2019-07-04 Thread Thomas Westfeld
Dear all, I am having an issue with logging of my Twisted application. I am using the new twisted.logger framework. The output produced by twist or twistd when runnning my plugin is nice. However when running a test suite using py.test I only get this as an output to stdout: {"log_io": "\"12

Re: [Twisted-Python] Getting nice logging outputs in py.test

2019-07-04 Thread Chris Withers
On 04/07/2019 14:39, Thomas Westfeld wrote: Dear all, I am having an issue with logging of my Twisted application. I am using the new twisted.logger framework. The output produced by twist or twistd when runnning my plugin is nice. However when running a test suite using py.test I only get th

Re: [Twisted-Python] Getting nice logging outputs in py.test

2019-07-04 Thread Jean-Paul Calderone
On Thu, Jul 4, 2019 at 1:50 PM Chris Withers wrote: > On 04/07/2019 14:39, Thomas Westfeld wrote: > > Dear all, > > > > I am having an issue with logging of my Twisted application. I am using > the new twisted.logger framework. The output produced by twist or twistd > when runnning my plugin is n

Re: [Twisted-Python] Getting nice logging outputs in py.test

2019-07-04 Thread Chris Withers
On 04/07/2019 21:43, Jean-Paul Calderone wrote: How are you running the reactor in your pytest suites? I've not found a sane way to do this and so would recommend sticking with trial, crufty and old though it feels... What feels crufty and old about trial?  And why is "old" a negati