Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion admin_manual/configuration_server/logging_configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,15 @@ date format in the example below, the date/time format will be written in the fo
::

"log_type" => "file",
"logfile" => "nextcloud.log",
"logfile" => "/var/log/nextcloud/nextcloud.log",
"loglevel" => 3,
"logdateformat" => "F d, Y H:i:s",

The **logfile** parameter is optional. If it is omitted, the log is written to **nextcloud.log** in the
**datadirectory**. When setting it, use an absolute path: a relative path such as ``"nextcloud.log"`` is resolved
against the working directory of the PHP process (usually the Nextcloud installation directory), and a log file
placed there makes the updater's check for expected files fail.

Additional file-based logging parameters
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down