I am trying to debug what is wrong with my
java mail which I tried to send using gmail and in localhost my own computer without a web host.
Now, I have log4j2 and log4j inside so I am not sure if I should remove log4j.
Also, I just want to log to console to see the error:
Here's my log4j2.xml :
Here's my log4j properties file configuration:
And I have further add the SMTP tracing to logging at
Tomcat
BUT, I am not getting any error output
And still I can't send out my email or any debug error
Please. I hope someone can help me on this.