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

Viewing debug messages

1

I have the following in my Java code:

   System.out.println("i am here...");

   log.debug("i am also here...");

I compiled the code, copied the .class file to the appropriate ..../atlassian-jira/WEB-INF/classes/com/.... location, and restarted Jira.

When I look at the atlassian-jira.log and the catalina.out files, I do not see my messages in these 2 files.

Where can i find my log messages?  Or, what do i need to do to be able to view my debug/print statements?

Thanks

 

1 answer

SOP should go to catalina.out and log.debug should go to atlassian-jira.log file. Check the log4j.properties to see if you have made any changes to default configuration or not.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Europe

Daniel Meisen, kreuzwerker, Video and Slides online

Video and slides from this week's Monday Night Special are online. Learn more about the differences between Atlassian Server/Data Center and Atlassian Cloud from Daniel Meisen, kreuzwerker, and find ...

20 views 0 0
View post

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