You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by dg...@apache.org on 2023/08/22 09:31:34 UTC
[unomi] branch add-config-for-debug-json-schema) created (now 23a0fe23c)
This is an automated email from the ASF dual-hosted git repository.
dgriffon pushed a change to branch add-config-for-debug-json-schema)
in repository https://gitbox.apache.org/repos/asf/unomi.git
at 23a0fe23c UNOMI-796 : Set json schema to debug using env variable
This branch includes the following new commits:
new 23a0fe23c UNOMI-796 : Set json schema to debug using env variable
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[unomi] 01/01: UNOMI-796 : Set json schema to debug using env variable
Posted by dg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
dgriffon pushed a commit to branch add-config-for-debug-json-schema)
in repository https://gitbox.apache.org/repos/asf/unomi.git
commit 23a0fe23c14bb3a1691c38a37de70237e8cbfbcb
Author: David Griffon <dg...@jahia.com>
AuthorDate: Tue Aug 22 11:28:03 2023 +0200
UNOMI-796 : Set json schema to debug using env variable
---
package/src/main/resources/etc/custom.system.properties | 1 +
package/src/main/resources/etc/org.ops4j.pax.logging.cfg | 4 ++++
2 files changed, 5 insertions(+)
diff --git a/package/src/main/resources/etc/custom.system.properties b/package/src/main/resources/etc/custom.system.properties
index d421c7b43..6c0dfc15f 100644
--- a/package/src/main/resources/etc/custom.system.properties
+++ b/package/src/main/resources/etc/custom.system.properties
@@ -304,6 +304,7 @@ org.apache.unomi.shell.completionMode=${env:UNOMI_SHELL_COMPLETIONMODE:-GLOBAL}
org.apache.unomi.logs.root.level=${env:UNOMI_LOGS_ROOT_LEVEL:-INFO}
org.apache.unomi.logs.sshd.level=${env:UNOMI_LOGS_SSHD_LEVEL:-INFO}
org.apache.unomi.logs.cxf.level=${env:UNOMI_LOGS_CXF_LEVEL:-WARN}
+org.apache.unomi.logs.jsonschema.level=${env:UNOMI_LOGS_JSONSCHEMA_LEVEL:-INFO}
org.apache.unomi.logs.fileName=${env:UNOMI_LOGS_FILENAME:-${karaf.data}/log/karaf.log}
org.apache.unomi.logs.filePattern=${env:UNOMI_LOGS_FILEPATTERN:-${karaf.data}/log/karaf.log.%i}
org.apache.unomi.logs.audit.fileName=${env:UNOMI_LOGS_AUDIT_FILENAME:-${karaf.data}/security/audit.log}
diff --git a/package/src/main/resources/etc/org.ops4j.pax.logging.cfg b/package/src/main/resources/etc/org.ops4j.pax.logging.cfg
index fe5433c20..43f027976 100644
--- a/package/src/main/resources/etc/org.ops4j.pax.logging.cfg
+++ b/package/src/main/resources/etc/org.ops4j.pax.logging.cfg
@@ -96,3 +96,7 @@ log4j2.appender.osgi.filter = *
log4j2.logger.cxfInterceptor.name = org.apache.cxf.interceptor
log4j2.logger.cxfInterceptor.level = ${org.apache.unomi.logs.cxf.level:-WARN}
+
+# Custom logger for json schema
+log4j2.logger.jsonSchema.name = org.apache.unomi.schema.impl
+log4j2.logger.jsonSchema.level = ${org.apache.unomi.logs.jsonschema.level:-INFO}