doc/book/en/admin/rql-logs.rst
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Wed, 09 Jan 2013 14:29:29 +0100
branchstable
changeset 8639 2fddbe32ae8b
parent 6646 159d0dbe07d9
permissions -rw-r--r--
[ldapfeed] if a deactivated user becomes available again in its source, reactivate it (closes #2542776) * cwusers that see their ldap source counterpart disappear are deactivated * until now they were not activated again on reappearance * note this behaviour in the doc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6646
159d0dbe07d9 [book] move bit about rql logs to its own section
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     1
.. -*- coding: utf-8 -*-
159d0dbe07d9 [book] move bit about rql logs to its own section
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     2
159d0dbe07d9 [book] move bit about rql logs to its own section
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     3
RQL logs
159d0dbe07d9 [book] move bit about rql logs to its own section
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     4
========
159d0dbe07d9 [book] move bit about rql logs to its own section
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     5
159d0dbe07d9 [book] move bit about rql logs to its own section
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     6
You can configure the *CubicWeb* instance to keep a log
159d0dbe07d9 [book] move bit about rql logs to its own section
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     7
of the queries executed against your database. To do so,
159d0dbe07d9 [book] move bit about rql logs to its own section
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     8
edit the configuration file of your instance
159d0dbe07d9 [book] move bit about rql logs to its own section
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     9
``.../etc/cubicweb.d/myapp/all-in-one.conf`` and uncomment the
159d0dbe07d9 [book] move bit about rql logs to its own section
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    10
variable ``query-log-file``::
159d0dbe07d9 [book] move bit about rql logs to its own section
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    11
159d0dbe07d9 [book] move bit about rql logs to its own section
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    12
  # web instance query log file
159d0dbe07d9 [book] move bit about rql logs to its own section
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    13
  query-log-file=/tmp/rql-myapp.log
159d0dbe07d9 [book] move bit about rql logs to its own section
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    14