From a9de46aa538626f3076de38b67b4411bce478900 Mon Sep 17 00:00:00 2001
From: Carsten  Rose <carsten.rose@math.uzh.ch>
Date: Sat, 16 Jun 2018 23:16:21 +0200
Subject: [PATCH] B5884: sql.log public readable. Update manual.

---
 extension/Documentation/Manual.rst | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/extension/Documentation/Manual.rst b/extension/Documentation/Manual.rst
index f696bec61..c2499a1c9 100644
--- a/extension/Documentation/Manual.rst
+++ b/extension/Documentation/Manual.rst
@@ -316,9 +316,11 @@ Extension Manager: QFQ Configuration
 |                               |                                                       | *modify*: log only statements who change data. *error*: log only DB errors.|
 |                               |                                                       | *none*: no SQL log at all.                                                 |
 +-------------------------------+-------------------------------------------------------+----------------------------------------------------------------------------+
-| sqlLog                        | typo3conf/sql.log                                     | Filename to log SQL commands: relative to <site path> or absolute.         |
+| sqlLog                        | fileadmin/protected/log/sql.log                       | Filename to log SQL commands: relative to <site path> or absolute. If the  |
+|                               |                                                       | directory does not exist, create it.                                       |
 +-------------------------------+-------------------------------------------------------+----------------------------------------------------------------------------+
-| mailLog                       | typo3conf/mail.log                                    | Filename to log `sendEmail` commands: relative to <site path> or absolute. |
+| mailLog                       | fileadmin/protected/log/mail.log                      | Filename to log `sendEmail` commands: relative to <site path> or absolute. |
+|                               |                                                       | If the directory does not exist, create it.                                |
 +-------------------------------+-------------------------------------------------------+----------------------------------------------------------------------------+
 | showDebugInfo                 | auto                                                  | FE - Possible values: yes|no|auto|download. For 'auto': If a BE User is    |
 |                               |                                                       | logged in, a debug information will be shown on the FE.                    |
@@ -6415,10 +6417,10 @@ to the file is SIP protected. Any file on the server is possible.
 
 * On the same Typo3 page, define a SQL column '_monitor' with the necessary parameter: ::
 
-    10.sql = SELECT 'file:typo3conf/sql.log|tail:50|append:1|refresh:1000|htmlId:monitor-1' AS _monitor
+    10.sql = SELECT 'file:fileadmin/protected/log/sql.log|tail:50|append:1|refresh:1000|htmlId:monitor-1' AS _monitor
 
     # Short version with all defaults used.
-    10.sql = SELECT 'file:typo3conf/sql.log' AS _monitor
+    10.sql = SELECT 'file:fileadmin/protected/log/sql.log' AS _monitor
 
 Report Examples
 ---------------
-- 
GitLab