Re: [Twisted-Python] Can’t change namespace for the Logger instance

2017-01-20 Thread Glyph Lefkowitz
> On Jan 20, 2017, at 1:33 AM, Роман Мещеряков > wrote: > > I expect the text between ‘[‘ and ‘#’ to be ‘ad_hoc’, but it is > auto-generated name instead. Am I doing something wrong or this is a bug? This is indeed a bug! And a pretty serious one; it's explicitly

Re: [Twisted-Python] conch problem with ecdsa-sha2-nistp256 host key?

2017-01-20 Thread Glyph Lefkowitz
> On Dec 21, 2016, at 5:40 PM, Craig Rodrigues wrote: > > > > On Wed, Dec 21, 2016 at 4:46 PM, Glyph Lefkowitz > wrote: > > > Can you file a new ticket for each of these? The ordering thing seems super >

[Twisted-Python] Can’t change namespace for the Logger instance

2017-01-20 Thread Роман Мещеряков
Hi everyone! I use Twisted 16.6.0 and wrote the following simple program: import sysfrom twisted.logger import (Logger, textFileLogObserver) class MyClass:   log = Logger(namespace = "ad_hoc", observer = textFileLogObserver(sys.stdout))   def __init__(self):   self.log.info("MyClass.__init__