The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
If you want to stay informed about news about QF-Test, you can simply subscribe to our newsletter:
Subscribe to Newsletter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [QF-Test] jython/python logging library
Hello Erik, when I run your code as an SUT script I get No handlers could be found for logger "root" At least that's a response. Are you getting _any_ stdout from your SUT? Depending on how the SUT is started its output may be redirected. Try opening the Jython Terminal for the SUT. You should always get the Jython output there. Best regards, Greg Erik Macisevskij <Erik.Macisevskij@?.com> writes: > Hi, > > I’ve been trying to use logging library with TestRunListener and it won’t log anything to stdout. I wonder if there > are any good reasons for that? > > Default code that works with Jython 2.7: > > import logging > > log = logging.getLogger('') > > log.setLevel(logging.INFO) > > log.info('info') > > Many thanks, > > Erik Macisevskij > > FlexTrade UK Ltd., 34th Floor, CityPoint > 1 Ropemaker Street, London EC2Y 9AW -- Gregor Schmid E: gregor.schmid@?.de T: +49 8171 38648-11 F: +49 8171 38648-16 Quality First Software GmbH | www.qfs.de Tulpenstr. 41 | 82538 Geretsried | Germany GF Gregor Schmid, Dr. Martina Schmid, Karlheinz Kellerer HRB München 140833
|
1. Functional cookies
We use functional cookies to ensure the basic functionality of the website.
2. Performance and statistic cookies
We use Matomo for analyzing and optimizing our website. Cookies permit an anonymous collection of information that help us offering you a clear and user-friendly visit of our web pages.
This cookie contains a unique, pseudonymized visitor ID internal to Matomo for recognizing returning visitors.
This cookie is used to track from which website the anonymized user proceeded to our website.
The Matomo session cookie is used to track the visitor's page requests during the session.
is created and should be then directly deleted (used to check whether the visitor’s browser supports cookies).
short lived cookies used to temporarily store data for the visit.
short lived cookies used to temporarily store data for the visit.