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
Post a Comment