Log spam: warning generated by velocity

Hi. I noticed a lot of messages like the following:

/rest/timesheet-gadget/1.0/timesheet.json [velocity] Warning! The iterative  is an Iterator in the #foreach() loop at [0,0] in template templates/common/worklog-details-issue.vm. Because it's not resetable, if used in more than once, this may lead to unexpected results.

What do they mean? Are they important, should I be worried? How do I get rid of them?

3 answers

1 accepted

Thanks. This fixed it.

This widget could not be displayed.

It's not important and harmless, just poor velocity code in some of third-party plugins. You can disable warnings in log4j.properties. More information about this https://confluence.atlassian.com/display/JIRA/Logging+and+Profiling

Thanks, but I would apreciate it if the affected plugin would just fix it. I don't want to disable warning log messages as they may contain something useful someday.

You can disable velocity warnings for this plugin only and this particular classes only but it's on you to decide.

This widget could not be displayed.

Hi Igor,

"You can disable velocity warnings for this plugin only and this particular classes only but it's on you to decide."

How to do this ?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

513 views 3 18
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you