Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oracle database helper logging DSRA8207I too frequently #19608

Closed
KyleAure opened this issue Dec 9, 2021 · 0 comments · Fixed by #19611
Closed

Oracle database helper logging DSRA8207I too frequently #19608

KyleAure opened this issue Dec 9, 2021 · 0 comments · Fixed by #19611
Assignees
Labels
release bug This bug is present in a released version of Open Liberty release:22002 team:Zombie Apocalypse

Comments

@KyleAure
Copy link
Member

KyleAure commented Dec 9, 2021

Describe the bug

As a user of Liberty, JDBC, and the Oracle JDBC driver when I use third-party libraries or applications that are written in a general manner for non-specific database calls, I find that I often have an over-abundance of DSRA8207I messages in my messages.log file. This is caused by the library or application inappropriately calling con.setReadOnly(false) which the oracle driver does not support. Since this is logged each time this method is called on a connection it could lead to the messages.log file increasing to an undesirable size.

Expected behavior
I would expect that this information message would be emitted once to notify the user that all method calls to con.setReadOnly(false) are ignored. This would align with the existing behavior of DSRA8770I which is also logged at the same time.

Diagnostic information:

  • OpenLiberty Version: 21.0.0.12
  • Affected feature(s) [JDBC-4.x]
  • Java Version: All

Current workaround:
Currently, I have to work around this issue by ignoring these messages using:
com.ibm.ws.logging.hideMessage=DSRA8207I

@KyleAure KyleAure added team:Zombie Apocalypse release bug This bug is present in a released version of Open Liberty labels Dec 9, 2021
@KyleAure KyleAure self-assigned this Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release bug This bug is present in a released version of Open Liberty release:22002 team:Zombie Apocalypse
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants