Update PR

* Update PR
This commit is contained in:
abraunegg 2023-09-27 10:05:26 +10:00
parent c232036319
commit 73ec9e9520
3 changed files with 7 additions and 5 deletions

View file

@ -71,7 +71,7 @@ class ClientSideFiltering {
foreach(entry; appConfig.getValueString("skip_file").split("|")){ foreach(entry; appConfig.getValueString("skip_file").split("|")){
if (entry == ".*") { if (entry == ".*") {
// invalid entry element detected // invalid entry element detected
log.logAndNotify("ERROR: Invalid skip_file entry '.*' detected"); log.error("ERROR: Invalid skip_file entry '.*' detected");
return false; return false;
} }
} }

View file

@ -528,13 +528,15 @@ class ApplicationConfig {
} }
} }
// Advise the user path that we use for the application configuration // Advise the user path that we will use for the application state data
if (canFind(applicableConfigFilePath, configDirName)) { if (canFind(applicableConfigFilePath, configDirName)) {
log.vlog("Using 'user' Config Dir: ", configDirName); log.vlog("Using 'user' configuration path for application state data: ", configDirName);
} }
if (canFind(applicableConfigFilePath, systemConfigDirName)) { if (canFind(applicableConfigFilePath, systemConfigDirName)) {
log.vlog("Using 'system' Config Dir: ", systemConfigDirName); log.vlog("Using 'system' configuration path for application state data: ", systemConfigDirName);
} }
// return if the configuration was initialised
return configurationInitialised; return configurationInitialised;
} }

View file

@ -153,7 +153,7 @@ int main(string[] cliArgs) {
// configure the application logging directory // configure the application logging directory
string initialisedLogDirPath = appConfig.initialiseLogDirectory(); string initialisedLogDirPath = appConfig.initialiseLogDirectory();
// Initialise using the configured logging directory // Initialise using the configured logging directory
log.vlog("Using the following directory to store the runtime application log: ", initialisedLogDirPath); log.vlog("Using the following path to store the runtime application log: ", initialisedLogDirPath);
log.initialise(initialisedLogDirPath); log.initialise(initialisedLogDirPath);
} }