Skip to content
Snippets Groups Projects
Commit b89cb9e6 authored by Vincent Massol's avatar Vincent Massol
Browse files

[Misc] Only use the overridden logback config in the CI or when debug is on to...

[Misc] Only use the overridden logback config in the CI or when debug is on to avoid generating too much log spam
parent 25727e42
No related branches found
No related tags found
No related merge requests found
......@@ -124,8 +124,11 @@ public void generate(File configurationFileTargetDirectory, String version, Arti
// Copy a logback config file for testing. This allows putting overrides in it that are needed only for the
// tests.
copyLogbackConfigFile(configurationFileTargetDirectory);
// tests. Only do this in the CI for now (or if debug is true) since this is currently used for debugging
// problems.
if (DockerTestUtils.isInAContainer() || this.testConfiguration.isDebug()) {
copyLogbackConfigFile(configurationFileTargetDirectory);
}
}
private void copyLogbackConfigFile(File configurationFileTargetDirectory) throws Exception
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment