Reconnect to DB within log4j -


if have jdbcappender configured throw log messages mysql and, while system restart database reconnect db?

i have had use case occur on past weekend. database hosted amazon aws. rolled on log database , of instances logging database via log4j jdbc appender stopped logging. bounced 1 of apps , resumed logging.

so answer question, through experience, appears no.

if database goes down , comes online, jdbc appender not reconnect automatically.

edit

jdbcappender getconnection might overridden fix.


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 -