java - Log4J SMTP appender issues -


i use log4j smtp appender , doubt effect application memory when it's tries send many emails.and errors located (memory or other) before send? if application crashes lost "errors" not send yet?

if concerned memory investigate e.g. "jvisualvm" in jdk.

the contents of mail , events needed generate stored in memory. encourage investigate source code.

if application exits jvm no more actions can taken, mails errors should have been sent immediately. if concern you, consider adding shutdown hooks run when jvm shutting down.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -