doc/book/en/admin/rql-logs.rst
author Denis Laxalde <denis.laxalde@logilab.fr>
Mon, 30 Sep 2013 14:48:59 +0200
changeset 9285 e7c94121ce9d
parent 6646 159d0dbe07d9
permissions -rw-r--r--
[book] Improve PostgreSQL configuration section * Do not advice for specific PostgreSQL version (point to meta-packages if available in Linux distros); * First mention packages from Linux distros, put the link to official postgres documentation at the end; Closes #2725302.

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