doc/book/admin/rql-logs.rst
author Laurent Peuch <cortex@worlddomination.be>
Tue, 20 Aug 2019 22:45:46 +0200
changeset 12738 a54037a68b14
parent 10491 c67bcee93248
permissions -rw-r--r--
[logging] send logs by default to stdout Following the move to have commands only working on foreground sending logs to a file by default doesn't make much more sens anymore so send them to stdout by default and add a new option to send them to a file if needed

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