doc/book/en/admin/rql-logs.rst
author Rémi Cardona <remi.cardona@logilab.fr>
Fri, 26 Jun 2015 16:29:28 +0200
changeset 10467 73ea636a5562
parent 6646 159d0dbe07d9
permissions -rw-r--r--
[entity] sort fetchattrs when generating rql Try to generate a predictable rql query, to help testing with PYTHONHASHSEED=random.

.. -*- coding: utf-8 -*-

RQL logs
========

You can configure the *CubicWeb* instance to keep a log
of the queries executed against your database. To do so,
edit the configuration file of your instance
``.../etc/cubicweb.d/myapp/all-in-one.conf`` and uncomment the
variable ``query-log-file``::

  # web instance query log file
  query-log-file=/tmp/rql-myapp.log