← Back to team overview

sikuli-driver team mailing list archive

[Question #268336]: stop the [log] comments?

 

New question #268336 on Sikuli:
https://answers.launchpad.net/sikuli/+question/268336

I can't figure out how to suppress the [log] entries to the output stream while running.  It seems it should be so simple and for some reason I can't get it, please help.

I am running the scripts from a windows command line (cmd to be precise) and I do use a lot of "print" commands to notify of progress and status etc.

I read through the docs and have these lines in my code...  
Settings.DebugLogs = 0
Settings.UserLogs = 0
Settings.InfoLogs = 0
but no matter what number I assign, the [log] entries still show every click on the screen.

I thought I could originally use these for my output, but couldn't get it figured out, so instead I have a "Debug" boolean I set to true, and use many "if Debug: print <status or information here>" and when I get things working I just set the value false again.

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