Skip to content

Commit

Permalink
config.sample.php logging documentation clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin McCorkell committed Aug 19, 2015
1 parent 07e119a commit 2663f12
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions config/config.sample.php
Original file line number Diff line number Diff line change
Expand Up @@ -493,9 +493,10 @@
'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 =
Expand Down Expand Up @@ -561,8 +562,8 @@
* 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,

Expand Down

0 comments on commit 2663f12

Please sign in to comment.