doc/book/en/admin/rql-logs.rst
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Tue, 16 Apr 2013 13:44:01 +0200
branchstable
changeset 8890 57ffd0e0643d
parent 6646 159d0dbe07d9
permissions -rw-r--r--
[clean_session] revert itervalues usage from 0bb18407c053 self.close(session) changes the self._sessions content. We need to create a full list of value before starting closing them.

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