mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-07 08:22:13 +02:00
Update PR
* Update PR
This commit is contained in:
parent
c232036319
commit
73ec9e9520
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue