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

2019-07-05 Thread Thomas Westfeld
>-Original Message- >From: Twisted-Python [mailto:twisted-python-boun...@twistedmatrix.com] On >Behalf Of Amber Brown >Sent: Friday, July 05, 2019 12:47 PM >To: twisted-python@twistedmatrix.com >Subject: Re: [Twisted-Python] Getting nice logging outputs in py.test &g

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

2019-07-05 Thread Jean-Paul Calderone
On Fri, Jul 5, 2019 at 1:55 AM Chris Withers wrote: > 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.

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

2019-07-05 Thread Amber Brown
On 5/7/19 8:27 pm, 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 this

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

2019-07-05 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 >std

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

2019-07-05 Thread Amber Brown
On 5/7/19 3:55 pm, Chris Withers wrote: 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

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

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 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

[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