Skip to content

Commit a01ed69

Browse files
committed
Add PLUGINSDIR debug log for successfully loaded plugins in memory
1 parent 805b0fe commit a01ed69

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/plugins/pluginmanager.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434

3535
#include <rsserver/p3face.h>
3636
#include <util/rsdir.h>
37+
#include <util/rsdebug.h>
3738
#include <retroshare/rsversion.h>
3839
#include <util/folderiterator.h>
3940
#include <ft/ftserver.h>
@@ -415,6 +416,9 @@ bool RsPluginManager::loadPlugin(const std::string& plugin_name,bool first_time)
415416
pinfo.info_string = "" ;
416417

417418
_accepted_hashes.insert(pinfo.file_hash) ; // do it now, to avoid putting in list a plugin that might have crashed during the load.
419+
RsInfo() << "PLUGINSDIR: Successfully loaded plugin in memory: "
420+
<< (p ? p->getPluginName() : "Unknown")
421+
<< " from path: " << plugin_name;
418422
return true;
419423
}
420424

0 commit comments

Comments
 (0)