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

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - Updating recent updates - Problem in procedure - Any other approach? -