inveniosoftware-attic / invenio-app-demomarc21

Demo of an MARC21 based Invenio flavour.
https://invenio-app-demomarc21.readthedocs.io
GNU General Public License v2.0
1 stars 13 forks source link

global: when debug is on, SQL statements are printed #19

Closed lnielsen closed 7 years ago

lnielsen commented 7 years ago

Probably this needs to be switched off from in invenio-db

$ invenio demo init
....

Importing bibliographic records
2017-07-28 12:56:31,969 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS VARCHAR(60)) AS anon_1
INFO  [sqlalchemy.engine.base.Engine] SELECT CAST('test plain returns' AS VARCHAR(60)) AS anon_1
2017-07-28 12:56:31,969 INFO sqlalchemy.engine.base.Engine ()
INFO  [sqlalchemy.engine.base.Engine] ()
2017-07-28 12:56:31,973 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS VARCHAR(60)) AS anon_1
INFO  [sqlalchemy.engine.base.Engine] SELECT CAST('test unicode returns' AS VARCHAR(60)) AS anon_1
2017-07-28 12:56:31,974 INFO sqlalchemy.engine.base.Engine ()
INFO  [sqlalchemy.engine.base.Engine] ()
2017-07-28 12:56:31,975 INFO sqlalchemy.engine.base.Engine BEGIN (implicit)
INFO  [sqlalchemy.engine.base.Engine] BEGIN (implicit)
2017-07-28 12:56:31,975 INFO sqlalchemy.engine.base.Engine BEGIN
INFO  [sqlalchemy.engine.base.Engine] BEGIN
2017-07-28 12:56:31,976 INFO sqlalchemy.engine.base.Engine ()