we see connectivity issues to database from app server. the issue is sporadic and affect only one node in multi node cluster and it recovers it self after sometime. we have ruled out DB issues and network issues as it affects only one node for a period of time, when other nodes operates normally.. I wanted to enable ojdbc logging and see if I can get clue for this issue.
I have downloaded the oracle jdbc7_g .jar and replaced the jdbc.jar in tomcat lib and made the below changes.
Created config.properties for logging with below setting