helper->file_include(helper, name);
if (!settings_parser_open_next_file(helper))
{
- DBG1(DBG_CFG, "failed to open config file '%s'", name);
+#ifdef STRONGSWAN_CONF
+ if (streq(name, STRONGSWAN_CONF))
+ {
+ DBG2(DBG_CFG, "failed to open config file '%s'", name);
+ }
+ else
+#endif
+ {
+ DBG1(DBG_CFG, "failed to open config file '%s'", name);
+ }
}
else
{
array_insert(this->files, ARRAY_TAIL, next);
return &next->public;
}
- PARSER_DBG1(&this->public, "unable to open '%s'", name);
+ PARSER_DBG2(&this->public, "unable to open '%s'", name);
parser_helper_file_destroy(next);
}
file->matches->destroy(file->matches);