We're using Java logging in our Groovy scripts and on our production server, every line output is duplicated.
This is the code:
Groovy imports...
import org.apache.log4j.Logger
import org.apache.log4j.Level
import org.apache.log4j.Category
def log = Logger.getLogger("com.onresolve.jira.groovy")
log.setLevel(Level.INFO)
log.info("Initialized logging. So far, so good.")
...
This is what the output looks like:
2019-09-19 16:16:45,403 INFO [jira.groovy]: Initialized logging. So far, so good.
2019-09-19 16:16:45,403 INFO [jira.groovy]: Initialized logging. So far, so good.
2019-09-19 16:16:45,404 INFO [jira.groovy]: Instantiated IssueService.
2019-09-19 16:16:45,404 INFO [jira.groovy]: Instantiated IssueService.
I'm assuming that this is some configuration issue with the larger Jira application. Can anyone point me to where to look to fix this?
TYIA