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

Request to hide the SQL Queries in case of any error #9

Closed
sabahat11 opened this issue Dec 5, 2018 · 1 comment
Closed

Request to hide the SQL Queries in case of any error #9

sabahat11 opened this issue Dec 5, 2018 · 1 comment

Comments

@sabahat11
Copy link

Can we have a debug switch (true/false) option to show/hide the SQL Queries in our graph region? Currently it is showing the SQL queries as error message in case of an error.

@yogeshsd
Copy link
Owner

Property called "send_sql_to_ui" has been introduced to prevent SQL queries being shown in UI when the SQL query has failed execution. This property is "false" by default, which means dont show the SQL query in UI. However, you will continue to see the full query getting logged in {CATALINA_BASE}/logs/q2r.log file.

To turn this property on, follow the below steps

  1. Login in as admin user
  2. Click on user icon drop down menu
  3. Select "Update Global Config"
  4. Change value of property named "send_sql_to_ui" from false to true
  5. Click on submit to save the property value.
  6. Logout and login back to verify

To verify, you should have a erroneous SQL query in one of the element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants