doc/book/admin/rql-logs.rst
author Laurent Peuch <cortex@worlddomination.be>
Thu, 19 Dec 2019 06:35:54 +0100
changeset 12833 c69421aece24
parent 10491 c67bcee93248
permissions -rw-r--r--
[mypy] type AppObject.category

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