Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-8603

"throw log.couldNotExecuteQuery" in Elytron JdbcSecurityRealm should be logged

XMLWordPrintable

    • User Experience

      Having an error in setup/settings for Elytron jdbc-realm, e.g. there is missing a DB table required by SQL query used by the realm, there are no error (nor trace) messages in server log, and debugging of org.wildfly.security.auth.realm.jdbc.JdbcSecurityRealm have to be used currently to find out why the server returns status code 500 for an authenticated request.

      This issue is just an example, there are more such issues. rhn-support-dlofthouse clarified that the exceptions, like the throw log.couldNotExecuteQuery(sql, e); are not logged by default to avoid repeated logging. On the other hand, users should be able to investigate such errors without huge effort.

              Unassigned Unassigned
              okotek@redhat.com Ondrej Kotek
              Darran Lofthouse
              Ondrej Kotek Ondrej Kotek
              Ondrej Kotek Ondrej Kotek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: