doc/book/en/admin/rql-logs.rst
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 10 Jun 2011 16:54:20 +0200
changeset 7493 3c46b9390871
parent 6646 159d0dbe07d9
permissions -rw-r--r--
[rql2sql] fix for some queries where eid variable used and entities picked as variable's table

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