diff options
author | Robin McCorkell <rmccorkell@owncloud.com> | 2015-08-19 12:55:39 +0100 |
---|---|---|
committer | Robin McCorkell <rmccorkell@owncloud.com> | 2015-08-19 12:55:39 +0100 |
commit | 2663f12dc754dd55f8d8a349e992cd0ffa13e02c (patch) | |
tree | c5708103acf06c24751fa1ff70aacd39a5f4ff1d /config | |
parent | 07e119a3f8e660594bbab19246fcbf674c61bda1 (diff) | |
download | nextcloud-server-2663f12dc754dd55f8d8a349e992cd0ffa13e02c.tar.gz nextcloud-server-2663f12dc754dd55f8d8a349e992cd0ffa13e02c.zip |
config.sample.php logging documentation clarification
Diffstat (limited to 'config')
-rw-r--r-- | config/config.sample.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index 047e7ccdd12..70a58f4d5ea 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -493,9 +493,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 = @@ -561,8 +562,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, |