sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #42141
Re: [Question #610943]: Logging sikuli errors to a separate log file
Question #610943 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/610943
stewazy posted a new comment:
Tank you @RaiMan You are a God among men :D
here is my solution for logging error
try:
#your test
except:
var = traceback.format_exc()
file = open("C:\\Sikuli\\log.log", 'a')
file.write(var)
file.close()
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.