summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2013-08-29 10:50:55 +0200
committerGeorg Ehrke <developer@georgehrke.com>2013-08-29 10:50:55 +0200
commitb7758d0f8d52b2f9653cfee549558327c00c8e01 (patch)
tree309fb713ed25f35f746c59c668521bf9023bc331 /config
parent70b6e2161ec654f7049027bf6dc5072c1eda4d5e (diff)
parentea6e74ca9546ca95b3a6372c6106cd8ab2ea2ee9 (diff)
downloadnextcloud-server-b7758d0f8d52b2f9653cfee549558327c00c8e01.tar.gz
nextcloud-server-b7758d0f8d52b2f9653cfee549558327c00c8e01.zip
Merge master into oc_preview
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php14
1 files changed, 12 insertions, 2 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 6dd45163677..5f748438bc7 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -141,10 +141,22 @@ $CONFIG = array(
/* Loglevel to start logging at. 0=DEBUG, 1=INFO, 2=WARN, 3=ERROR (default is WARN) */
"loglevel" => "",
+/* date format to be used while writing to the owncloud logfile */
+'logdateformat' => 'F d, Y H:i:s',
+
/* Append all database queries and parameters to the log file.
(watch out, this option can increase the size of your log file)*/
"log_query" => false,
+/*
+ * Configure the size in bytes log rotation should happen, 0 or false disables the rotation.
+ * This rotates the current owncloud logfile to a new name, this way the total log usage
+ * will stay limited and older entries are available for a while longer. The
+ * total disk usage is twice the configured size.
+ * WARNING: When you use this, the log entries will eventually be lost.
+ */
+'log_rotate_size' => false, // 104857600, // 100 MiB
+
/* Lifetime of the remember login cookie, default is 15 days */
"remember_login_cookie_lifetime" => 60*60*24*15,
@@ -202,6 +214,4 @@ $CONFIG = array(
'preview_libreoffice_path' => '/usr/bin/libreoffice',
/* cl parameters for libreoffice / openoffice */
'preview_office_cl_parameters' => '',
-// date format to be used while writing to the owncloud logfile
-'logdateformat' => 'F d, Y H:i:s',
);