Dear Developers!
For testing plugin in on-line mode i need to see result of it's work. Are there any ways to organize console output for plugin? I read smth about it but didn't understand how to do it.
Regards, Andrew.
Community moderators have prevented the ability to post new answers.
Hi Andrew,
You can use logger.debug() or System.out.println() to insert your output to the console when you execute atlas-run or start-jira.sh
Thank you for your reply!
Are there any ways to do the same without atlas-run command?
Usually i pack plugin with atlas-mvn cleane package command and then install it into special test jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What version of Jira and SDK are you using huasoon? This doesn't seem to work for me. I'm calling System.out.println() in a ValuesGenerator class I made and can't seem to get it to output anywhere. (However, I am not sure that the class is being called at all, I suspect some sort of caching is going on.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What version of Jira and SDK are you using huasoon? This doesn't seem to work for me. I'm calling System.out.println() in a ValuesGenerator class I made and can't seem to get it to output anywhere. (However, I am not sure that the class is being called at all, I suspect some sort of caching is going on.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you are installing your plugin in a separate instance of JIRA, you can view the output by
1) Adding your plugin package in the Administration -> Logging and Profiling ->Configure logging level for another package
2) Tail the output of atlassian-jira.log in the command console
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are welcome :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Probably you can modify the log4j file at WEB-INF/classes/log4j.properties and put in your specific entries for to log to a seperate file for your plugin's package.
Not sure whether this is the best option, but should work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.