Re: [Sikuli-driver] [Question #658613]: issues when using Python logging module in sikuli

2017-09-26 Thread Manfred Hampl
Question #658613 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/658613 Manfred Hampl proposed the following answer: I assume that your usage of the logging module is not correct. As far as I know logger.addHandler() needs a handler as its parameter, and not a file name. Maybe

Re: [Sikuli-driver] [Question #658613]: issues when using Python logging module in sikuli

2017-09-25 Thread TestMechanic
Question #658613 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/658613 Status: Open => Answered TestMechanic proposed the following answer: Try to change logger.setLevel(logging.DEBUG) to logger.setLevel(10) See here -

[Sikuli-driver] [Question #658613]: issues when using Python logging module in sikuli

2017-09-24 Thread linmiaoling
New question #658613 on Sikuli: https://answers.launchpad.net/sikuli/+question/658613 Hi all, i have issues when using Python logging module in sikuli run following script in sikuli ide : import logging # when run in IDE with reruns to avoid errors use import logging; reload(logging) #create