doc/book/admin/rql-logs.rst
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Fri, 10 May 2019 16:04:37 +0200
changeset 12593 c30f8dc81f22
parent 10491 c67bcee93248
permissions -rw-r--r--
Fix pyramid tests Followup fa292e9 which require cubicweb.session.secret to be set.

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