snippet of code to use the output logs in ScriptRunner Adaptavist groovy scripts
ScriptRunner log.debug
/***********/import org.apache.log4j.Loggerimport org.apache.log4j.Level def log = Logger.getLogger("com.scriptname")log.setLevel(Level.DEBUG)/***********/ //and then, for example to print the variable tremlog.debug "trem=${trem}"
|
example :
