doc/book/admin/rql-logs.rst
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 10 Mar 2017 17:58:25 +0100
changeset 12041 69f69ce8241a
parent 10491 c67bcee93248
permissions -rw-r--r--
[user] Drop ugly hack on CWUser entity class which should be not necessary anymore, beside two remaining usage in our own test suite.

.. -*- 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