The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how to debug with Behaviours Plugin?

fabby
Contributor
June 3, 2012

my jira version is 4.4.1

click "enable logging" to turn on logging in the behaviours plugin page.

then i searched out the JIRA installation location,can only find log files in JIRA\Atlassian\Application Data\JIRA\log.and found three log files:atlassian-jira.log,atlassian-jira-security.log,atlassian-jira-slow-queries.log.

open atlassian-jira.log,i didn't see any error messages about this plugin if i put wrong script into the plugin on purpose.

anyone knows how debug the plugin?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Mizan
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 Champions.
June 3, 2012

You should be able to see the logging done by behaviours if you have clicked on enable logging .

Try the below code in your script with logging enabled and try to find it in the atlassian-jira.log using CRTL+F ,

log.debug("--------------------This is to test Behaviours Logging----------------")

fabby
Contributor
June 4, 2012

thanks,Mizan i can find the log message.

TAGS
AUG Leaders

Atlassian Community Events