diff options
author | Ferdinand Thiessen <rpm@fthiessen.de> | 2022-05-30 11:49:17 +0200 |
---|---|---|
committer | Ferdinand Thiessen <rpm@fthiessen.de> | 2022-06-06 13:37:04 +0200 |
commit | 1da424595f2eef2ee341081f9398e6aac6d842f3 (patch) | |
tree | 5c4288d759dd6148c494303d0f91d837d986e78a /config | |
parent | 31d48a7641f63da6c6744d23d4dedf448e7e1162 (diff) | |
download | nextcloud-server-1da424595f2eef2ee341081f9398e6aac6d842f3.tar.gz nextcloud-server-1da424595f2eef2ee341081f9398e6aac6d842f3.zip |
Feature: Add and expose frontend loglevel
This adds a new config variable `loglevel_frontend`,
allowing to configure the logging level of the
browser part as requested in nextcloud/nextcloud-logger#141
If not configured the `loglevel` is used as the fallback.
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
Diffstat (limited to 'config')
-rw-r--r-- | config/config.sample.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index c3a0048625c..067d65f4338 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 |