doc/book/admin/rql-logs.rst
author Jérémy Bobbio <jeremy.bobbio@irq7.fr>
Mon, 17 Jun 2019 17:23:36 +0200
changeset 12661 3bbfd5e54c76
parent 10491 c67bcee93248
permissions -rw-r--r--
[devtools] Allow to specify short desc on `newcube` command line In order to implement automated testing of `cubicweb-ctl newcube`, we need to avoid any user interaction. So we add a `-s` switch to specify a short description on the command-line instead of requiring an input.

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