In my application, i have prepared a singleton logger to use in entire application. All the logging statements are getting logged before the database connection statement. But, after that statement no logging statement is
getting logged when The connection to database is successful. If i disable the connection statement or if the connection is failed, then all logging statements after that db connection statement are working fine.