Changed plugin version mismatch log level to error #4866
This commit is contained in:
parent
6602ebe435
commit
dc72b4e512
|
@ -93,10 +93,10 @@ ArchPluginUnix::load()
|
|||
m_pluginTable.insert(std::make_pair(filename, library));
|
||||
}
|
||||
else {
|
||||
LOG((CLOG_WARN "plugin version doesn't match"));
|
||||
LOG((CLOG_ERR "plugin version doesn't match"));
|
||||
LOG((CLOG_DEBUG "expected plugin version: %s actual plugin version: %s",
|
||||
expectedVersion.c_str(), version));
|
||||
LOG((CLOG_WARN "skip plugin: %s", (*it).c_str()));
|
||||
LOG((CLOG_ERR "skip plugin: %s", (*it).c_str()));
|
||||
dlclose(library);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -78,10 +78,10 @@ ArchPluginWindows::load()
|
|||
m_pluginTable.insert(std::make_pair(pluginName, lib));
|
||||
}
|
||||
else {
|
||||
LOG((CLOG_WARN "plugin version doesn't match"));
|
||||
LOG((CLOG_ERR "plugin version doesn't match"));
|
||||
LOG((CLOG_DEBUG "expected plugin version: %s actual plugin version: %s",
|
||||
expectedVersion.c_str(), version));
|
||||
LOG((CLOG_WARN "skip plugin: %s", (*it).c_str()));
|
||||
LOG((CLOG_ERR "skip plugin: %s", (*it).c_str()));
|
||||
FreeLibrary(library);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue