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

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

PostgreSQL 9.x - pg_read_binary_file & inserting files into bytea -

asp.net - call stack missing info on mono with apache and mod_mono -