← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #184000]: Please let me know how to get the log file of the sikuli?

 

Question #184000 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/184000

    Status: Open => Answered

RaiMan proposed the following answer:
different possibilities:

--- run from command line
run your script from command line and use the print statement to produce your log messages. Pipe the standard output to a text file.

--- use Python's write()
open a text file for output in your script and write your messages to that file instead of using print. This would solve your problem in the IDE too.

--- use Pythons logging feature
This is the most advanced solution.

Look for coding examples on the different possibilities in this board.

If you want to do more sophisticated things with Sikuli, you need some
basic knowledge of Python language and study the docs of Sikuli
(http://sikuli.org/docx/).

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.