Fix internal filepath for logging on windows
Alo fixes filepath for concurrenthashmap and one windows-only test referencing now non-existing QuarkusJpaConnectionProviderFactory log output in LoggingDistTest Closes #12984
This commit is contained in:
parent
17f1d04960
commit
e9714c78a6
2 changed files with 3 additions and 3 deletions
|
@ -24,10 +24,10 @@ metrics-enabled=false
|
||||||
|
|
||||||
#logging defaults
|
#logging defaults
|
||||||
log-console-output=default
|
log-console-output=default
|
||||||
log-file=${kc.home.dir:default}data/log/keycloak.log
|
log-file=${kc.home.dir:default}${file.separator}data${file.separator}log${file.separator}keycloak.log
|
||||||
|
|
||||||
# Storage defaults
|
# Storage defaults
|
||||||
spi-map-storage-concurrenthashmap-dir=${kc.home.dir:default}data/chm
|
spi-map-storage-concurrenthashmap-dir=${kc.home.dir:default}${file.separator}data${file.separator}chm
|
||||||
spi-map-storage-concurrenthashmap-key-type-single-use-objects=string
|
spi-map-storage-concurrenthashmap-key-type-single-use-objects=string
|
||||||
spi-map-storage-concurrenthashmap-key-type-realms=string
|
spi-map-storage-concurrenthashmap-key-type-realms=string
|
||||||
spi-map-storage-concurrenthashmap-key-type-authz-resource-servers=string
|
spi-map-storage-concurrenthashmap-key-type-authz-resource-servers=string
|
|
@ -135,7 +135,7 @@ public class LoggingDistTest {
|
||||||
void testWinLogLevelSettingsAppliedWhenJsonEnabled(LaunchResult result) {
|
void testWinLogLevelSettingsAppliedWhenJsonEnabled(LaunchResult result) {
|
||||||
CLIResult cliResult = (CLIResult) result;
|
CLIResult cliResult = (CLIResult) result;
|
||||||
assertFalse(cliResult.getOutput().contains("\"loggerName\":\"io.quarkus\",\"level\":\"INFO\")"));
|
assertFalse(cliResult.getOutput().contains("\"loggerName\":\"io.quarkus\",\"level\":\"INFO\")"));
|
||||||
assertTrue(cliResult.getOutput().contains("\"loggerName\":\"org.keycloak.quarkus.runtime.storage.database.jpa.QuarkusJpaConnectionProviderFactory\",\"level\":\"DEBUG\""));
|
assertTrue(cliResult.getOutput().contains("\"loggerName\":\"org.keycloak.services.resources.KeycloakApplication\",\"level\":\"DEBUG\""));
|
||||||
assertTrue(cliResult.getOutput().contains("\"loggerName\":\"org.infinispan.CONTAINER\",\"level\":\"INFO\""));
|
assertTrue(cliResult.getOutput().contains("\"loggerName\":\"org.infinispan.CONTAINER\",\"level\":\"INFO\""));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue