From 293d290450faeb0e26252fe89a456f266515bccf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sw=C3=A4rd?= Date: Tue, 31 Jan 2023 11:44:15 +0000 Subject: [PATCH] =?UTF-8?q?commit=20e9bc2eeb2b7f3e70abc7d80901eaac60de784e?= =?UTF-8?q?40=20Merge:=20cab3181af=201a01d778c=20Author:=20Daniel=20Sw?= =?UTF-8?q?=C3=A4rd=20=20Date:=20=20=20Tue=20Jan=2031=2012:4?= =?UTF-8?q?2:32=202023=20+0100?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Merge pull request #5459 from owncloud/excds/feature/Add_line_number_and_file_to_log_messages_when_at_debug_level Add line number and file to log messages when at debug level. --- helpers/extended_vars.yaml | 20 ++++++++- .../_includes/adoc/extended_configvars.adoc | 16 +++++++ .../_includes/adoc/global_configvars.adoc | 44 +++++++++---------- 3 files changed, 56 insertions(+), 24 deletions(-) diff --git a/helpers/extended_vars.yaml b/helpers/extended_vars.yaml index e0ce2b60a07..2f7b8583510 100644 --- a/helpers/extended_vars.yaml +++ b/helpers/extended_vars.yaml @@ -17,7 +17,7 @@ variables: do_ignore: true - rawname: MICRO_LOG_LEVEL path: ocis-pkg/log/log.go:34 - foundincode: true + foundincode: false name: MICRO_LOG_LEVEL type: string default_value: Error @@ -26,12 +26,28 @@ variables: do_ignore: false - rawname: MICRO_LOG_LEVEL path: ocis-pkg/log/log.go:30 - foundincode: true + foundincode: false name: MICRO_LOG_LEVEL type: "" default_value: "" description: "" do_ignore: true +- rawname: MICRO_LOG_LEVEL + path: ocis-pkg/log/log.go:35 + foundincode: true + name: MICRO_LOG_LEVEL + type: "" + default_value: "" + description: "" + do_ignore: false +- rawname: MICRO_LOG_LEVEL + path: ocis-pkg/log/log.go:31 + foundincode: true + name: MICRO_LOG_LEVEL + type: "" + default_value: "" + description: "" + do_ignore: false - rawname: registryEnv path: ocis-pkg/registry/registry.go:44 foundincode: true diff --git a/services/_includes/adoc/extended_configvars.adoc b/services/_includes/adoc/extended_configvars.adoc index 77402cc8f25..4cab53f9c8d 100644 --- a/services/_includes/adoc/extended_configvars.adoc +++ b/services/_includes/adoc/extended_configvars.adoc @@ -20,6 +20,22 @@ a| [subs=-attributes] ++Set the log level for the internal go micro framework. Only change on supervision of ownCloud Support. ++ +a| `MICRO_LOG_LEVEL` + +a| [subs=-attributes] +++ ++ +a| [subs=-attributes] +++ ++ +a| [subs=-attributes] +++ ++ + +a| `MICRO_LOG_LEVEL` + +a| [subs=-attributes] +++ ++ +a| [subs=-attributes] +++ ++ +a| [subs=-attributes] +++ ++ + a| `MICRO_REGISTRY` + a| [subs=-attributes] ++string ++ diff --git a/services/_includes/adoc/global_configvars.adoc b/services/_includes/adoc/global_configvars.adoc index 1abd24c00eb..3765704b0a5 100644 --- a/services/_includes/adoc/global_configvars.adoc +++ b/services/_includes/adoc/global_configvars.adoc @@ -26,7 +26,7 @@ a| [subs=-attributes] ++false ++ a| [subs=-attributes] -Flag to enable or disable the creation of the demo users. +The default role assignments the demo users should be setup. a| `LDAP_BIND_DN` @@ -41,7 +41,7 @@ a| [subs=-attributes] ++string ++ a| [subs=-attributes] -++uid=reva,ou=sysusers,o=libregraph-idm ++ +++uid=idp,ou=sysusers,o=libregraph-idm ++ a| [subs=-attributes] LDAP DN to use for simple bind authentication with the target LDAP server. @@ -131,7 +131,7 @@ a| [subs=-attributes] ++groupOfNames ++ a| [subs=-attributes] -The object class to use for groups in the default group search filter ('groupOfNames'). +The object class to use for groups in the default group search filter like 'groupOfNames'. a| `LDAP_GROUP_SCHEMA_DISPLAYNAME` @@ -181,7 +181,7 @@ a| [subs=-attributes] ++ownclouduuid ++ a| [subs=-attributes] -LDAP Attribute to use as the unique id for groups. This should be a stable globally unique ID like a UUID. +LDAP Attribute to use as the unique ID for groups. This should be a stable globally unique ID like a UUID. a| `LDAP_GROUP_SCHEMA_ID_IS_OCTETSTRING` @@ -246,7 +246,7 @@ a| [subs=-attributes] ++sub ++ a| [subs=-attributes] -LDAP search scope to use when looking up groups. Supported scopes are 'base', 'one' and 'sub'. +LDAP search scope to use when looking up groups. Supported values are 'base', 'one' and 'sub'. a| `LDAP_INSECURE` @@ -282,7 +282,7 @@ a| [subs=-attributes] ++ldaps://localhost:9235 ++ a| [subs=-attributes] -URI of the LDAP Server to connect to. Supported URI schemes are 'ldaps://' and 'ldap://' +Url of the LDAP service to use as IDP. a| `LDAP_USER_BASE_DN` @@ -336,7 +336,7 @@ a| [subs=-attributes] ++inetOrgPerson ++ a| [subs=-attributes] -The object class to use for users in the default user search filter ('inetOrgPerson'). +LDAP User ObjectClass like 'inetOrgPerson'. a| `LDAP_USER_SCHEMA_DISPLAYNAME` @@ -367,10 +367,10 @@ a| [subs=-attributes] ++string ++ a| [subs=-attributes] -++ownclouduuid ++ +++uid ++ a| [subs=-attributes] -LDAP Attribute to use as the unique id for users. This should be a stable globally unique id like a UUID. +LDAP User uuid attribute like 'uid'. a| `LDAP_USER_SCHEMA_ID_IS_OCTETSTRING` @@ -386,7 +386,7 @@ a| [subs=-attributes] ++false ++ a| [subs=-attributes] -Set this to true if the defined 'id' attribute for users is of the 'OCTETSTRING' syntax. This is e.g. required when using the 'objectGUID' attribute of Active Directory for the user id's. +Set this to true if the defined 'id' attribute for users is of the 'OCTETSTRING' syntax. This is e.g. required when using the 'objectGUID' attribute of Active Directory for the user ID's. a| `LDAP_USER_SCHEMA_MAIL` @@ -404,7 +404,7 @@ a| [subs=-attributes] ++mail ++ a| [subs=-attributes] -LDAP Attribute to use for the email address of users. +LDAP User email attribute like 'mail'. a| `LDAP_USER_SCHEMA_USERNAME` @@ -419,10 +419,10 @@ a| [subs=-attributes] ++string ++ a| [subs=-attributes] -++uid ++ +++displayName ++ a| [subs=-attributes] -LDAP Attribute to use for username of users. +LDAP User name attribute like 'displayName'. a| `LDAP_USER_SCOPE` @@ -466,13 +466,13 @@ a| [subs=attributes+] * xref:{s-path}/storage-users.adoc[storage-users] + a| [subs=-attributes] -++[]string ++ +++string ++ a| [subs=-attributes] -++[] ++ +++ ++ a| [subs=-attributes] -Node addresses to use for the cache store. +A comma-separated list of addresses to connect to. Only valid if the above setting is set to "etcd" a| `OCIS_CACHE_STORE_SIZE` @@ -501,10 +501,10 @@ a| [subs=-attributes] ++string ++ a| [subs=-attributes] -++memory ++ +++ ++ a| [subs=-attributes] -Store implementation for the cache. Valid values are "memory" (default), "redis", and "etcd". +The type of the cache store. Valid options are "noop", "ocmem", "etcd" and "memory" a| `OCIS_CORS_ALLOW_CREDENTIALS` @@ -849,7 +849,7 @@ a| [subs=-attributes] ++false ++ a| [subs=-attributes] -Whether to verify the server TLS certificates. +Ignore untrusted SSL certificates when connecting to the webdav source. a| `OCIS_JWT_SECRET` @@ -1093,7 +1093,7 @@ a| [subs=-attributes] ++https://localhost:9200 ++ a| [subs=-attributes] -The identity provider value to set in the group IDs of the CS3 group objects for groups returned by this group provider. +The OIDC issuer URL to use. a| `OCIS_SYSTEM_USER_API_KEY` @@ -1334,7 +1334,7 @@ a| [subs=-attributes] ++https://localhost:9200 ++ a| [subs=-attributes] -The identity provider value to set in the group IDs of the CS3 group objects for groups returned by this group provider. +The OIDC issuer URL to use. a| `REVA_GATEWAY` @@ -1369,7 +1369,7 @@ a| [subs=-attributes] ++127.0.0.1:9142 ++ a| [subs=-attributes] -The CS3 gateway endpoint. +CS3 gateway used to look up user metadata a| `STORAGE_TRANSFER_SECRET`