1
0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-11-23 13:22:36 +01:00

Fix plugin runner

This commit is contained in:
Pavel Odintsov 2015-01-27 23:24:56 +03:00
parent 927bbe22d0
commit f8fece5116

@ -30,6 +30,9 @@ using namespace std;
std::string log_file_path = "/tmp/fastnetmon_plugin_tester.log";
log4cpp::Category& logger = log4cpp::Category::getRoot();
// Global map with parsed config file
std::map<std::string, std::string> configuration_map;
void init_logging() {
log4cpp::PatternLayout* layout = new log4cpp::PatternLayout();
layout->setConversionPattern ("%d [%p] %m%n");