When I use Comment issue post function, I add log events for debugging. However, I've noticed INFO events don't work for me. Only when I use log.warn(...) events, they show up in atlassian-jira.log.
Even when I've added jmwe.plugins.functions.CommentIssueFunction package to log4j.properties, it's still a no-show.
When should I do to add there INFO events to my log?
Could something like this work (as it does in Script Runner):
import org.apache.log4j.Category
def Category log = Category.getInstance("jmwe.plugins.functions.CommentIssueFunction");
log.setLevel(org.apache.log4j.Level.INFO);