doc/book/admin/rql-logs.rst
author Denis Laxalde <denis.laxalde@logilab.fr>
Thu, 02 Jun 2016 10:27:34 +0200
changeset 11284 d4293b14c664
parent 10491 c67bcee93248
permissions -rw-r--r--
[py3k] Fix config-level comparison in "cubicweb-ctl create" command dict.get -> None, and None cannot compare to an int in Python 3.

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