You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Greg Morphis <gm...@gmail.com> on 2010/01/08 19:45:43 UTC
Tomcat Mail log
I've got Tomcat 5.5 and using log4j for logging purposes, how do I
enable logging of mail so I can see mail errors, unsent mail, etc?
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat Mail log
Posted by Greg Morphis <gm...@gmail.com>.
Yes we're using Java mail. Thanks for the info, have a great weekend
On Fri, Jan 8, 2010 at 2:26 PM, Christopher Schultz
<ch...@christopherschultz.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Greg,
>
> On 1/8/2010 1:45 PM, Greg Morphis wrote:
>> I've got Tomcat 5.5 and using log4j for logging purposes, how do I
>> enable logging of mail so I can see mail errors, unsent mail, etc?
>
> What do you use to send email? Tomcat does not provide email services,
> so you'll have to find out how your email API logs errors. If you're
> using JavaMail, I don't believe it does any logging other than DEBUG
> logging to stdout/stderr when -Dmail.debug=true.
>
> - -chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat Mail log
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Greg,
On 1/8/2010 1:45 PM, Greg Morphis wrote:
> I've got Tomcat 5.5 and using log4j for logging purposes, how do I
> enable logging of mail so I can see mail errors, unsent mail, etc?
What do you use to send email? Tomcat does not provide email services,
so you'll have to find out how your email API logs errors. If you're
using JavaMail, I don't believe it does any logging other than DEBUG
logging to stdout/stderr when -Dmail.debug=true.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAktHlPsACgkQ9CaO5/Lv0PDojwCeOWroz2f/nIwYrayxgT3WIAXz
nMUAnjm9HC55+Wpl6wKmmkcABcPR4rsU
=jagJ
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org