Restrict Workflow Validator error messages in the log file

can we restrict the following error messages from the log file? These are the error messages from the workflow validators (required fields)

2014-03-14 11:12:39,084 http-bio-80-exec-6 ERROR spatruni 672x17018x2 1z10pjm 10.107.182.119 /secure/CommentAssignIssue.jspa [atlassian.jira.workflow.OSWorkflowManager] Caught exception while attempting to perform action 21 from workflow 560260 on issue 'BUG-713'
[InvalidInputException: [Error map: [{customfield_10080=Resolver is required.}]] [Error list: [[]]]
2014-03-14 11:07:48,096 http-bio-80-exec-5 ERROR spatruni 667x16491x2 uvyaht 10.107.182.119 /secure/CommentAssignIssue.jspa [atlassian.jira.workflow.OSWorkflowManager] Caught exception while attempting to perform action 21 from workflow 560260 on issue 'BUG-713'
[InvalidInputException: [Error map: [{fixVersions=Fix Version/s is required.}]] [Error list: [[]]]

2 answers

1 accepted

You can turn it off by adding a line (as shown below) to the log4j.properties file

log4j.logger.atlassian.jira.workflow.OSWorkflowManager = OFF

Find details about locating the log4j config file and changing logging levels here:

https://confluence.atlassian.com/display/JIRA/Logging+and+Profiling

But that requires JIRA restart.. Is there a way to handle without restarting JIRA?

Just saw the package/class name was wrong.

Did you tried with com.atlassian.jira.workflow.OSWorkflowManager ?

Thank you Boris, I have added the package name and set the logging level to off but the error messages in the log are still printing.

Ok the problem was I had added the package name "log4j.logger.atlassian.jira.workflow.OSWorkflowManager" but I should add "com.atlassian.jira.workflow.OSWorkflowManager"

I have couple of questions.. How can we remove the first one (log4j.logger.atlassian.jira.workflow.OSWorkflowManager) from the list?

Is this temperory change or permanant change?

It's temporary and will be gone after the next restart and also it will not cause any problems.

To make it permanent edit the log4j.properties file

Yes,

From the Logging anf Profiling page click Configure and for Package name put com.atlassian.jira.workflow.OSWorkflowManager
for
Logging Level put OFF

Here's how to get to the page:

  1. Log in as a user with the 'JIRA System Administrators'global permission.
  2. Choose >System. Select Troubleshooting and Support > Logging & Profilingto open the Logging page, which lists all defined log4j categories (as package names) and their current logging levels.
    (tick)Keyboard shortcut: 'g' + 'g' +start typing'logging & profiling'
  3. To change logging level of a category, click linked logging level associated with the relevant package name. To turn off logging of a category, click the 'OFF' link associated with the relevant package name.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,798 views 11 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot