Commit 51d00490 authored by Nigel Kukard's avatar Nigel Kukard

Give user some details if we loaded config

parent 729c6178
......@@ -1809,10 +1809,12 @@ sub _load_statefile
# Check if the state file exists first of all
if (! -e $config->{'statefile'}) {
$logger->log(LOG_INFO,"[CONFIGMANAGER] Statefile '".$config->{'statefile'}."' doesn't exist");
$logger->log(LOG_ERR,"[CONFIGMANAGER] Statefile '%s' doesn't exist",$config->{'statefile'});
$logger->log(LOG_NOTICE,"[CONFIGMANAGER] Loading statefile '%s'",$config->{'statefile'});
# Pull in a hash for our statefile
my %stateHash;
if (! tie %stateHash, 'Config::IniFiles', ( -file => $config->{'statefile'} )) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment