From 73ec9e95208104d71772bb32b14163b32bcf5a05 Mon Sep 17 00:00:00 2001 From: abraunegg Date: Wed, 27 Sep 2023 10:05:26 +1000 Subject: [PATCH] Update PR * Update PR --- src/clientSideFiltering.d | 2 +- src/config.d | 8 +++++--- src/main.d | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/clientSideFiltering.d b/src/clientSideFiltering.d index 880dac4e..ed67c629 100644 --- a/src/clientSideFiltering.d +++ b/src/clientSideFiltering.d @@ -71,7 +71,7 @@ class ClientSideFiltering { foreach(entry; appConfig.getValueString("skip_file").split("|")){ if (entry == ".*") { // invalid entry element detected - log.logAndNotify("ERROR: Invalid skip_file entry '.*' detected"); + log.error("ERROR: Invalid skip_file entry '.*' detected"); return false; } } diff --git a/src/config.d b/src/config.d index 6e8be0ce..e675eb3d 100644 --- a/src/config.d +++ b/src/config.d @@ -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)) { - log.vlog("Using 'user' Config Dir: ", configDirName); + log.vlog("Using 'user' configuration path for application state data: ", configDirName); } 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; } diff --git a/src/main.d b/src/main.d index 30ca170c..0cc33124 100644 --- a/src/main.d +++ b/src/main.d @@ -153,7 +153,7 @@ int main(string[] cliArgs) { // configure the application logging directory string initialisedLogDirPath = appConfig.initialiseLogDirectory(); // 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); }