summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-08-20 12:57:05 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-08-20 12:57:05 +0200
commitc7b0d50cb225b22bdf3d9470ea7da799443f677e (patch)
tree04f43a08185d1eb8c590edb196aedcbbd4e41107 /config
parent28e58594bad2160d8c6ba92a1cbeaad3a2890192 (diff)
parentc693e5d5d1f35834fd27693c140ad8c81a4a5aaf (diff)
downloadnextcloud-server-c7b0d50cb225b22bdf3d9470ea7da799443f677e.tar.gz
nextcloud-server-c7b0d50cb225b22bdf3d9470ea7da799443f677e.zip
Merge pull request #18369 from owncloud/occ-log
occ commands to manage logging
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 2b4873d5310..522cf02ceba 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -494,9 +494,10 @@ $CONFIG = array(
'log_type' => 'owncloud',
/**
- * Change the ownCloud logfile name from ``owncloud.log`` to something else.
+ * Log file path for the ownCloud logging type.
+ * Defaults to ``[datadirectory]/owncloud.log``
*/
-'logfile' => 'owncloud.log',
+'logfile' => '/var/log/owncloud.log',
/**
* Loglevel to start logging at. Valid values are: 0 = Debug, 1 = Info, 2 =
@@ -562,8 +563,8 @@ $CONFIG = array(
* Enables log rotation and limits the total size of logfiles. The default is 0,
* or no rotation. Specify a size in bytes, for example 104857600 (100 megabytes
* = 100 * 1024 * 1024 bytes). A new logfile is created with a new name when the
- * old logfile reaches your limit. The total size of all logfiles is double the
- * ``log_rotate_sizerotation`` value.
+ * old logfile reaches your limit. If a rotated log file is already present, it
+ * will be overwritten.
*/
'log_rotate_size' => false,