← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #610943]: Logging sikuli errors to a separate log file

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
The print output produced by Sikuli is simply going to stdout.

if it is a must, to stick with 1.0.1, then these are your options:

Just run the script from commandline and pipe the output to a file (>> operator).
then you might mix in your own messages using print

The other option is to completely switch off the Sikuli messages and setup your own logging like you mentioned above.
Use the different options, to deal with FindFailed or other exceptions with try...except... where you could write according messages to your file.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.