Viewing debug messages

Andrew L July 29, 2015

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

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 29, 2015

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