You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "rahul-gupta-1525 (via GitHub)" <gi...@apache.org> on 2024/01/30 07:36:42 UTC
[I] Print Logic SQL / Actual SQL based on configuration [shardingsphere]
rahul-gupta-1525 opened a new issue, #29913:
URL: https://github.com/apache/shardingsphere/issues/29913
## Feature Request
Can we have configuration to print actual sql and logic sql in normal mode if configured?
**sql-show.actual-sql**=true
**sql-show.logic-sql**=true
Today in normal mode ( **sql-show**=true ) both logic and actual sql logs are being printed. Actual sql query might be needed in logs for someone and logic sql query might be needed for someone and sometimes people would need both. Logic SQL would only be needed only during initial configuration and not needed as always
If we have a configuration, people might print based on their need
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Print Logic SQL / Actual SQL based on configuration [shardingsphere]
Posted by "rahul-gupta-1525 (via GitHub)" <gi...@apache.org>.
rahul-gupta-1525 commented on issue #29913:
URL: https://github.com/apache/shardingsphere/issues/29913#issuecomment-1928827008
> i configured like this ` Properties otherProperties = new Properties(); otherProperties.setProperty("sql-show", "true");` both types of SQL are printed,The current version should not support custom configurations
Yeah currently there is no custom configuration for printing granularly, it will be useful if we provide this configuration
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Print Logic SQL / Actual SQL based on configuration [shardingsphere]
Posted by "terrymanu (via GitHub)" <gi...@apache.org>.
terrymanu closed issue #29913: Print Logic SQL / Actual SQL based on configuration
URL: https://github.com/apache/shardingsphere/issues/29913
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Print Logic SQL / Actual SQL based on configuration [shardingsphere]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #29913:
URL: https://github.com/apache/shardingsphere/issues/29913#issuecomment-1984334144
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org