cas.jdbc.showSql=false appears to work.

On 06/30/2017 02:13 PM, 'Iain Workman' via CAS Community wrote:
Hi All,

I am currently using the JPA backend to store services, which is working well - however this leads to a significant amount of the log being dedicated to SQL statements.

I was wondering if there was a way within the maven overlay to suppress these messages.

I have found some information here <https://www.mkyong.com/hibernate/hibernate-display-generated-sql-to-console-show_sql-format_sql-and-use_sql_comments/> which details setting show_sql=false in hibernate.cfg.xml, but I am aware that sibernate.cfg.xml duplicates settings which I already provide in my properties files, and I don't wish to override/conflict with settings I am storing elsewhere nor duplicate them if I can avoid it.

Is there a means of stopping this information from being posted to the logs through the properties files?
--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
---
You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/c458817e-dcd3-4b55-94a6-7cac4394ee2e%40apereo.org <https://groups.google.com/a/apereo.org/d/msgid/cas-user/c458817e-dcd3-4b55-94a6-7cac4394ee2e%40apereo.org?utm_medium=email&utm_source=footer>.


--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/815e7642-b750-1fb2-59a4-9ad8d07e6e88%40ndsu.edu.

Reply via email to