Hi Ed,

Here is the directive you are looking for.


<configuration>
  <statusListener
        class="ch.qos.logback.core.status.OnConsoleStatusListener" />

  ... the rest of the configuration file
</configuration>

See also http://logback.qos.ch/manual/configuration.html#statusListener

HTH,

On 20.12.2010 15:18, Ed Bras wrote:
If an error occurs during sending in the SMTPAppender, it adds a status.
How can I see these status messages such that I see the details of the
sending exception?
I would like these status messages to appear in my stdout or log file..

Regards,
Ed


_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user

Reply via email to