It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Java logging output has duplicated lines

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

4 answers

1 accepted

0 votes
Answer accepted

Okay, it's been 3 weeks.  I give up.

Anyone from Atlassian?  (crickets)

Anyone?  Anyone at all?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

The add-in you’ve been waiting for: Jira Cloud for Excel 🙌

Introducing Jira Cloud for Excel Here at the product integrations team at Atlassian, we are thrilled to announce the new Jira Cloud for Excel add-in! This add-in lets you export Jira data directly ...

881 views 7 24
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you