Can you change debugging behavior of Sikuli in Java?

Asked by someotherperson432423423

I'm writing my own logging for a Java application using Sikuli and wanted to mute the debug messages always printing to the console.

I was looking a the Debug section on the Java docs at http://sikuli.org/doc/java-x/ and it said "Change the value of the DEBUG_LEVEL constant using a system property: sikuli.Debug" which seems to me like I should be able to set the level of debugging messages.

When I try directly trying to change this parameter it throws a "Field not visible" error. And there are no functions to set this parameter that I can find in the "Debug" section of the Java docs.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
someotherperson432423423
Solved:
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
someotherperson432423423 (someotherperson432423423-deactivatedaccount) said :
#2

=( But I still need an answer. Lame sauce

Revision history for this message
RaiMan (raimund-hocke) said :
#3

Even if your mood gets =(, staying polite should be possible. and it is not very effective complaining the outcome of an automatic feature.

Tip: if you think, something does not work as it should or you want some improvements, it is better to post a bug.

see release doc of RC2:
- The info/debug/log messages of Sikuli can be hidden with the following variables.
  - Settings.ActionLogs # turn on/off the messages with "[log]"
  - Settings.InfoLogs # turn on/off the messages with "[info]"
  - Settings.DebugLogs # turn on/off the messages with "[debug]"

Already tested?

Revision history for this message
someotherperson432423423 (someotherperson432423423-deactivatedaccount) said :
#4

Wow I'm sorry, I had no idea I was being impolite, thought it was just casual to me. I'll try that out later. Didn't see that in the release doc of RC2, not sure how I missed it..