Change the MailSenderPlugin Logger

Last modified by Ilie Andriuta on 2021/03/18 11:43

Home Administration Tests Home Run Test

Steps to reproduce

  1. Login as Admin
  2. Go to Drawer > Administer Wiki > Mail > "Mail Sending"
  3. Set up your SMTP server:
    • Email server: smtp.gmail.com
    • Email server port: 587
    • Email server username: [email protected] (or gmail account)
    • Email server password: yourpassword
    • Additional Properties: mail.smtp.starttls.enable=true
  4. Go to Drawer > Administer Wiki > Other > Logging
  5. Change the logging level for "com.xpn.xwiki.plugin.mailsender.MailSenderPlugin" to INFO
  6. Navigate to a page
  7. Click on the 3 dots icon on the right and then click on "Share by email"
  8. Type in a valid email address
  9. Click Send
  10. Check the console

Expected results

An INFO message is displayed in the console that starts with INFO  c.x.x.p.m.MailSenderPlugin     - Sending email: From and includes the whole email sent.

Automated

No

Automated

No

Results

per page of Page
Tested By Tested On Jira Issue
The environment prevents the table from loading data.
 
Page
Tags: Logger
   

Get Connected