public void RefreshAdvancedLogging() // refreshes and gets the new(latest) value set.
{
string advlog = confService.AppSettings.Get("advancedlogging");
// load default value if no value is set
if (advlog.Trim().Length == 0)
advlog = confService.DefaultSettings["advancedlogging"];
AdvLog = advlog.ToLower().Equals("true") ? true : false;
}