doc/book/admin/rql-logs.rst
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 15 Mar 2017 08:39:51 +0100
changeset 12055 6672f51d8268
parent 10491 c67bcee93248
permissions -rw-r--r--
[test] Rename BaseQuerierTC._access to BaseQuerierTC.admin_access so it's consistent with CubicWebTC and avoid access to a protected attribute which has been exposed by the removal of the 'session' property a few csets earlier.

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