You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "atul-singh-20230331 (via GitHub)" <gi...@apache.org> on 2024/11/20 11:13:44 UTC
[I] [SQLLogger] : Wanted to check if there is a way to handle to remove logs "Logic SQL:" and keep "Actual SQL" [shardingsphere]
atul-singh-20230331 opened a new issue, #33736:
URL: https://github.com/apache/shardingsphere/issues/33736
Is is possible to remove the the log "Logic SQL:" log from below class line no 46 ?
I can see there is a config "ConfigurationPropertyKey.SQL_SHOW" to show the logic sql log is there but that would remove "Actual SQL" log also .
is there anyway to show "Actual SQL" log and remove "Logic SQL:"
Class for reference:
https://github.com/apache/shardingsphere/blob/71b72a0b4563a8c3e4b42247692b237ac7b83944/infra/executor/src/main/java/org/apache/shardingsphere/infra/executor/sql/log/SQLLogger.java#L46
--
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] [SQLLogger] : Wanted to check if there is a way to handle to remove logs "Logic SQL:" and keep "Actual SQL" [shardingsphere]
Posted by "atul-singh-20230331 (via GitHub)" <gi...@apache.org>.
atul-singh-20230331 commented on issue #33736:
URL: https://github.com/apache/shardingsphere/issues/33736#issuecomment-2488331455
Thanks Terry for the reply.
Understood, is there any plan to decouple "Actual SQL" and "Logic SQL:" logging from same method . Currently "Actual SQL" can only be enabled only if "Logic SQL:" is enabled .
--
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] [SQLLogger] : Wanted to check if there is a way to handle to remove logs "Logic SQL:" and keep "Actual SQL" [shardingsphere]
Posted by "terrymanu (via GitHub)" <gi...@apache.org>.
terrymanu commented on issue #33736:
URL: https://github.com/apache/shardingsphere/issues/33736#issuecomment-2488313569
Logic SQL is the external SQL of ShardingSphere and should always be paid attention to.
--
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] [SQLLogger] : Wanted to check if there is a way to handle to remove logs "Logic SQL:" and keep "Actual SQL" [shardingsphere]
Posted by "atul-singh-20230331 (via GitHub)" <gi...@apache.org>.
atul-singh-20230331 closed issue #33736: [SQLLogger] : Wanted to check if there is a way to handle to remove logs "Logic SQL:" and keep "Actual SQL"
URL: https://github.com/apache/shardingsphere/issues/33736
--
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] [SQLLogger] : Wanted to check if there is a way to handle to remove logs "Logic SQL:" and keep "Actual SQL" [shardingsphere]
Posted by "terrymanu (via GitHub)" <gi...@apache.org>.
terrymanu commented on issue #33736:
URL: https://github.com/apache/shardingsphere/issues/33736#issuecomment-2488365595
For my understanding, Logic SQL is required which can be a key, Actual SQLs are optional which should be values.
--
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] [SQLLogger] : Wanted to check if there is a way to handle to remove logs "Logic SQL:" and keep "Actual SQL" [shardingsphere]
Posted by "atul-singh-20230331 (via GitHub)" <gi...@apache.org>.
atul-singh-20230331 commented on issue #33736:
URL: https://github.com/apache/shardingsphere/issues/33736#issuecomment-2488545069
Thanks @terrymanu it's clear now and appreciate your quicker response.
--
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