Forums

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

Prevent jira writing infos into logfiles

nmathias
Contributor
January 15, 2019

Dear community,

do you have an idea, how to prevent jira from writing this message to logfiles? 

2019-01-15 08:24:15,683 INFO [jira@company.net] SERVER 1-3 anonymous    Mail an incident@company.net Sender(s) [no-reply@XXX.XXXXXXXX.com] not registered in JIRA. Using configured default reporter 'bot@company.net'.

 Thank you very much.

Nils Mathias

1 answer

0 votes
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 16, 2019

Hello Nils,

Using Jira to create issues from email can be a huge time saver for the end users, along with reducing frustration on filling out a form. While this is the case, if the user who is sending in the email is not registered within your system then the issue will use the default reporter (in this case ‘bot@company.net’).

With this said, this log is generated from how your Jira mail handler is configured. More about the configuration of creating issues from email may be found at Creating issues and comments from email. The section for “Catch Email Address” will clarify some of functionality which may be causing this error to be written to the logs.

Regards,
Stephen Sifers

nmathias
Contributor
January 17, 2019

Dear Stephen,

thank you for your quick response.

At the momentan I'm using one mailserver and two mailhandler.

The mailserver is getting mails from two adresses, e.g. project-a@company.net and project-b@company.net. 

To create tickets in separate Jira project each mailhandler catches email adresses. The Default Reporter is set to bot@company.net. I'm aware of that there won't be any mail send from this bot adress. That's why there is no need to write the mentioned info to the logs.

It would be great, if there's a chance to disable logging this error message.

Best regards,
Nils

Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 17, 2019

Hello Nils,

Thank you for the clarification on how your mail is received and then processed. With how the mail is coming in, and the email address not being within Jira, this informational message will be recorded since the mail handler is processing the mail and setting the reporter to bot@company.net.

The message itself is not an error and simply an informational log. The reason this is logged is to assist with ensure you have a proper log when attempting to troubleshoot why an event, just like this one, is being processed and ingested a certain way. Without this log, troubleshooting a mail handler issue would be extremely difficult to find the cause.

If you wanted to resolve this issue, you can add the email address within your Jira system so they have a reporter to match against. This would allow the mail handler to ingest the mail without logging the above informational message.

I hope you find this helpful along with explaining why the information message is recorded.

Regards,
Stephen Sifers

nmathias
Contributor
January 24, 2019

Dear Stephan,

thanks again for your detailed answer.

If you wanted to resolve this issue, you can add the email address within your Jira system so they have a reporter to match against. This would allow the mail handler to ingest the mail without logging the above informational message.

This would be a great solution, if I only had one sender writing mails to mailhandler project-a@company.net. Actually there are various users (not just employees) with different sender adresses, e.g.:  

user1@company.net             > inbox: project-a@company.net
user2@company.net > inbox: project-a@company.net
customer@external-company.net > inbox: project-a@company.net

In my opinion it would't be practical to add all of this sender adresses to jira.

Regards
Nils Mathias

Suggest an answer

Log in or Sign up to answer