diff --git a/src/main/webapp/src/app/components/debugging/debugging.html b/src/main/webapp/src/app/components/debugging/debugging.html index 7c692e1ac..c59ca22dc 100644 --- a/src/main/webapp/src/app/components/debugging/debugging.html +++ b/src/main/webapp/src/app/components/debugging/debugging.html @@ -20,7 +20,8 @@

Enable javax.mail debug logging

- By default javax.mail's debug logging is turned off, but you can turn it on for more diagnostic info. All this does is enabling debug mode on + By default javax.mail's debug logging is turned off, but you can turn it on for more diagnostic info. All this + does is enabling debug mode on the internal Session instance.

@@ -46,7 +47,8 @@

Catching exceptions

- Simple Java Mail throws a MailException if something goes wrong and logs these by default using SLF4J. This + Simple Java Mail throws a MailException if something goes wrong and logs these by + default using SLF4J. This includes checked exceptions thrown by underlying frameworks. An exception might be thrown when:

    @@ -74,18 +76,21 @@

    Logging output

    - Simple Java Mail uses SLF4J to log, which means you can use any logging framework you like that supports - it. Also read this excellent summary of how to configure + Simple Java Mail uses SLF4J to log, which means you can use any logging + framework you like that supports + it. Also read this excellent summary of how to configure slf4j with log4j2.

    - There are three parts of Simple Java Mail that may produce logging: "org.codemonkey.simplejavamail", "socks5bridge" and + There are three parts of Simple Java Mail that may produce logging: "org.codemonkey.simplejavamail", + "socks5bridge" and "org.codemonkey.simplejavamail.internal.socks". The latter two are for the proxy bridge that is used for authenticated proxy connections.

    - When using maven, Simple Java Mail defaults to log4j2, but you can easily exclude this in your own pom and switch to something else. Below are - some examples. + When using maven, Simple Java Mail provides some default XML configuration for log4j2, but you can easily + switch to something else. Below are some examples.

    @@ -96,7 +101,8 @@

    Example with log4j12

    - Here's an example configuration for log4j12, make sure you have the + Here's an example configuration for log4j12, make + sure you have the slf4j-to-log4j impl included on the classpath as well as log4j12 itself and the log4j.xml with the config.

    @@ -142,7 +148,8 @@

    Example with log4j2

    - Here's an example configuration for log4j2, make sure you have the + Here's an example configuration for log4j2, make sure you + have the log4j-slf4j-impl impl included on the classpath as well as log4j2 itself and the log4j2.xml with the config.