summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-06-10 15:31:36 +0200
committerGitHub <noreply@github.com>2022-06-10 15:31:36 +0200
commit87b04753d2ce24dba57da835cfabfb5accb43d92 (patch)
treef61a189bfb2ef1efb88324f7d87d95c4137d478e /config
parent4bc469bf809e9f67f08e08c20dc062357060b3df (diff)
parent1da424595f2eef2ee341081f9398e6aac6d842f3 (diff)
downloadnextcloud-server-87b04753d2ce24dba57da835cfabfb5accb43d92.tar.gz
nextcloud-server-87b04753d2ce24dba57da835cfabfb5accb43d92.zip
Merge pull request #32660 from susnux/master
Feature: Add loglevel exported JS OC.config object
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 4cb19c8d9e9..b51afd32ccc 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -889,6 +889,15 @@ $CONFIG = [
'loglevel' => 2,
/**
+ * Loglevel used by the frontend to start logging at. The same values as
+ * for ``loglevel`` can be used. If not set it defaults to the value
+ * configured for ``loglevel`` or Warning if that is not set either.
+ *
+ * Defaults to ``2``
+ */
+'loglevel_frontend' => 2,
+
+/**
* If you maintain different instances and aggregate the logs, you may want
* to distinguish between them. ``syslog_tag`` can be set per instance
* with a unique id. Only available if ``log_type`` is set to ``syslog`` or