[book] avoid '~' in all-in-one.conf, it is not expanded
authorJulien Cristau <julien.cristau@logilab.fr>
Fri, 18 Apr 2014 14:33:40 +0200
changeset 9739 5efd4a1abc66
parent 9738 bcb90cc8edde
child 9742 e02ebdf654c2
[book] avoid '~' in all-in-one.conf, it is not expanded Closes #3753213
doc/book/en/devrepo/profiling.rst
--- a/doc/book/en/devrepo/profiling.rst	Wed May 07 09:59:10 2014 +0200
+++ b/doc/book/en/devrepo/profiling.rst	Fri Apr 18 14:33:40 2014 +0200
@@ -10,7 +10,7 @@
 queries. In your ``all-in-one.conf`` file, set the **query-log-file** option::
 
     # web application query log file
-    query-log-file=~/myapp-rql.log
+    query-log-file=/home/user/myapp-rql.log
 
 Then restart your application, reload your page and stop your application.
 The file ``myapp-rql.log`` now contains the list of RQL queries that were
@@ -28,7 +28,7 @@
 
 .. sourcecode:: sh
 
-    $ cubicweb-ctl exlog ~/myapp-rql.log
+    $ cubicweb-ctl exlog /home/user/myapp-rql.log
     0.07 50 Any A WHERE X eid %(x)s, X firstname A {}
     0.05 50 Any A WHERE X eid %(x)s, X lastname A {}
     0.01 1 Any X,AA ORDERBY AA DESC WHERE E eid %(x)s, E employees X, X modification_date AA {}