2017 up to now  | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries from 2017 up to now


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[QF-Test] jython/python logging library


  • Subject: [QF-Test] jython/python logging library
  • From: Erik Macisevskij <Erik.Macisevskij@?.com>
  • Date: Fri, 31 Mar 2017 08:51:36 +0000
  • Delivered-to: qftest-list@?.net
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=FLEXTRADESYSTEMSINC.onmicrosoft.com; s=selector1-flextrade-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=R/P4PuMwDTmc20GrFdZbtxZ7+6WANVFLLKKYNTzaESs=; b=KQjWTcZ/cxeA4+j19KNo0JeUbI63pJ9OvG/kFz1LWswhkkRH5aMZDodkQV4sQyXSnLPk6bUVdum8kaOGMHGgCmPqu+7vndJwODDoNaXX1otJmJ4xONi12eQdGmck138REBiEyLakWUYG0aVSB/oDYlTct6QhfoXpRtvhRw4n0vQ=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

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