disable hibernate query from debug logging

25 vistas
Ir al primer mensaje no leído

Ketan Pawar

no leída,
21 jun 2017, 2:34:17 a.m.21/6/17
para jPOS Users
Hi,

I like to disable hibernate query traces from debug logs of jpos. Can we do it? if yes, how can?



Thanks,
Ketan

Andrés Alcarraz

no leída,
21 jun 2017, 6:57:31 a.m.21/6/17
para jpos-...@googlegroups.com

Hi Ketan

if you mean traces showing the executed SQL queries, then you just need to put false in the property show_sql of your hibernate.cfg.xml which is the default setting in dbsupport jPOS-EE module.

Hope this helps.

Andrés


El 21/06/17 a las 03:34, Ketan Pawar escribió:
--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.
To post to this group, send email to jpos-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/a508472b-8547-4aef-8ddc-040b07ed4d20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alejandro Revilla

no leída,
21 jun 2017, 7:39:07 a.m.21/6/17
para jpos-...@googlegroups.com
You can override that in the db.properties file.

I think we can also change the default to false, if it's on. Will check that. 



For more options, visit https://groups.google.com/d/optout.
--
Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos