CB-4241. Refactor after review (#2158)

Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
This commit is contained in:
DenisSinelnikov
2023-11-23 16:28:07 +03:00
committed by GitHub
co-authored by Evgenia Bezborodova
parent 1e45a8185e
commit bf7e23ebb4
@@ -144,6 +144,14 @@ public abstract class BaseWebApplication extends BaseApplicationImpl implements
return null;
}
public Path getLogbackConfigPath() {
Path configFilePath = getMainConfigurationFilePath().toAbsolutePath();
Path configFolder = configFilePath.getParent();
// Configure logging
return getLogbackConfigPath(configFolder);
}
private Path getMainConfigurationFilePath() {
String configPath = DEFAULT_CONFIG_FILE_PATH;