Have you defined the logger and log level in your script ?
Advanced Logging (adaptavist.com)
Regards
And what on that page explains the lack of "log" binding variable?
If anything, it specifically says:
The log variable is injected into every ScriptRunner inline script
At best, the "log" would be a different instance of a Logger, but it would still exist as a variable.
So I would say this sounds like a bug when strictly correlated with what the documentation states.
(Then again 'log' isn't listed as a binding variable on the Help popup, but depends whether that is hardcoded or loads whatever is in the bindings/map anyway. I don't see much of "use" out of a logger in there but still, strictly compared to the documentation it seems like a bug that Adaptavist should have a comment on.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I added the log variable, but it still cannot be printed. Please confirm if it is a bug!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.