From 2f3401e5ee8778d5a9cc7273036c769889e1ad33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Mili=C4=87?= Date: Wed, 19 Apr 2023 11:45:41 +0200 Subject: [PATCH] docfix/Introduce log level config files --- README.md | 4 +++- obp-api/src/main/resources/default.logback.xml | 12 ++++++++++++ obp-api/src/main/resources/logback-test.xml | 12 ++++++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 obp-api/src/main/resources/default.logback.xml create mode 100644 obp-api/src/main/resources/logback-test.xml diff --git a/README.md b/README.md index ffb7f5410..6e8014891 100644 --- a/README.md +++ b/README.md @@ -190,7 +190,9 @@ Note: Your Java environment may need to be setup correctly to use SSL Restart OBP-API, if you get an error, check your Java environment can connect to the host over SSL. -Note you can change the log level in /obp-api/src/main/resources/logback.xml (try TRACE or DEBUG) +Note you can change the log level in: + - /obp-api/src/main/resources/default.logback.xml (try TRACE or DEBUG) + - /obp-api/src/main/resources/logback-test.xml (try TRACE or DEBUG) There is a gist / tool which is useful for this. Search the web for SSLPoke. Note this is an external repository. diff --git a/obp-api/src/main/resources/default.logback.xml b/obp-api/src/main/resources/default.logback.xml new file mode 100644 index 000000000..871aea062 --- /dev/null +++ b/obp-api/src/main/resources/default.logback.xml @@ -0,0 +1,12 @@ + + + + + %d{yyyy-MM-dd HH:mm:ss} %t %c{0} [%p] %m%n + + + + + + + \ No newline at end of file diff --git a/obp-api/src/main/resources/logback-test.xml b/obp-api/src/main/resources/logback-test.xml new file mode 100644 index 000000000..871aea062 --- /dev/null +++ b/obp-api/src/main/resources/logback-test.xml @@ -0,0 +1,12 @@ + + + + + %d{yyyy-MM-dd HH:mm:ss} %t %c{0} [%p] %m%n + + + + + + + \ No newline at end of file