Closed atul-singh-20230331 closed 1 day ago
Logic SQL is the external SQL of ShardingSphere and should always be paid attention to.
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 .
For my understanding, Logic SQL is required which can be a key, Actual SQLs are optional which should be values.
Thanks @terrymanu it's clear now and appreciate your quicker response.
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