git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@655
cb58f699-b61c-0410-a6fe-
9272a202ed29
// Create the RPC Handle TLS key.
rpc_handle_key=ThreadKey::create(destroy_handle);
// Create the RPC Handle TLS key.
rpc_handle_key=ThreadKey::create(destroy_handle);
+ Category& log=Category::getInstance("isapi_shib.GetFilterVersion");
+
// Read site-specific settings for each instance ID we can find.
unsigned short i=1;
char iid[8];
// Read site-specific settings for each instance ID we can find.
unsigned short i=1;
char iid[8];
string hostname;
while (ini.get_tag("isapi",iid,false,&hostname))
{
string hostname;
while (ini.get_tag("isapi",iid,false,&hostname))
{
+ log.info("configuring for site ID (%d), hostname (%s)",i-1,hostname.empty() ? "null" : hostname.c_str());
+
// If no section exists for the host, mark it as a "skip" site.
if (!ini.exists(hostname))
{
// If no section exists for the host, mark it as a "skip" site.
if (!ini.exists(hostname))
{
+ log.info("skipping site ID (%d)",i-1);
g_Sites.push_back(settings_t());
sprintf(iid,"%u",i++);
continue;
g_Sites.push_back(settings_t());
sprintf(iid,"%u",i++);
continue;
g_Sites.push_back(settings);
sprintf(iid,"%u",i++);
g_Sites.push_back(settings);
sprintf(iid,"%u",i++);
}
}
catch (SAMLException&)
}
}
catch (SAMLException&)