Description of problem:
I have written more than one script now in which I have resorted to println() calls for logging which is less than ideal for anything other than the most trivial of scripts.
Commons Logging is on the classpath and available for use, but that is probably not intuitive as it is something that is not advertised. And trying the following from the interactive shell does not work,
$ logger = org.apache.commons.logging.LogFactory.getLog(this.getClass())
$ logger = org.apache.commons.logging.LogFactory.getLog("myscript")
does work, however, I do not see anything written to the log file. Instead, I'd prefer not to directly expose Commons Logging and instead provide a logger and/or log factory object in the script bindings.
Version-Release number of selected component (if applicable):
Steps to Reproduce: