Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

No logs of mail handler

I have no logs of my mail handler in atlassian-jira-incoming-mail.log file but 

Безымянный.jpg

And in log4j.properties I have

log4j.appender.incomingmaillog=com.atlassian.jira.logging.JiraHomeAppender
log4j.appender.incomingmaillog.File=atlassian-jira-incoming-mail.log
log4j.appender.incomingmaillog.MaxFileSize=20480KB
log4j.appender.incomingmaillog.MaxBackupIndex=5
log4j.appender.incomingmaillog.layout=com.atlassian.logging.log4j.NewLineIndentingFilteringPatternLayout
log4j.appender.incomingmaillog.layout.ConversionPattern=%d %p [%X{jira.mailserver}] %t %X{jira.username} %X{jira.request.id} %X{jira.request.assession.id} %X{jira.request.ipaddr} %X{jira.request.url} %m%n

log4j.logger.com.atlassian.mail.incoming = INFO, console, incomingmaillog
log4j.additivity.com.atlassian.mail.incoming = false

1 answer

0 votes
Brant Schroeder Community Leader Apr 07, 2021

@aas 

In the screenshot you shared the log will only be logging warnings and above.  Are you having issues that you are hoping to capture?  You can change it to info or debug to capture more information.

@Brant Schroeder you mean that if I change logging level for Default package to e.g. INFO, I'll have INFO logs of my mail handler? I suppose that I'll have all logs with INFO level, but I need only incoming mail logs 

Brant Schroeder Community Leader Apr 08, 2021

@aas Yes you could change the logging level to capture more information.  

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you