Merge: cab3181af 1a01d778c
Author: Daniel Swärd <excds@kth.se>
Date:   Tue Jan 31 12:42:32 2023 +0100

    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.
This commit is contained in:
Daniel Swärd committed 2023-01-31 11:44:15 +00:00
1 parent 5e2da080ee
commit 293d290450
3 files changed
+56 -24

No files matched your search

+18 -2
View File
@@ -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
@@ -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 ++
+22 -22
View File
@@ -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`