mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 13:07:02 +00:00
docfix/Introduce log level config files
This commit is contained in:
parent
9c982fd5a1
commit
2f3401e5ee
@ -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.
|
||||
|
||||
|
||||
12
obp-api/src/main/resources/default.logback.xml
Normal file
12
obp-api/src/main/resources/default.logback.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<configuration>
|
||||
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder>
|
||||
<pattern>%d{yyyy-MM-dd HH:mm:ss} %t %c{0} [%p] %m%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<root level="DEBUG">
|
||||
<appender-ref ref="STDOUT"/>
|
||||
</root>
|
||||
</configuration>
|
||||
12
obp-api/src/main/resources/logback-test.xml
Normal file
12
obp-api/src/main/resources/logback-test.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<configuration>
|
||||
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder>
|
||||
<pattern>%d{yyyy-MM-dd HH:mm:ss} %t %c{0} [%p] %m%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<root level="DEBUG">
|
||||
<appender-ref ref="STDOUT"/>
|
||||
</root>
|
||||
</configuration>
|
||||
Loading…
Reference in New Issue
Block a user