doc/book/admin/rql-logs.rst
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 14 Mar 2017 11:07:58 +0100
changeset 12043 b8d2e6b9f548
parent 10491 c67bcee93248
permissions -rw-r--r--
Stop using Session on the repository side Only expect session on web request, and let the web session/authentication managers provide them. Access to cnx.data, which used to return session data, is deprecated: there is no more access to session data from the repository side, and they should be access from req.session.data from the web side.

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