[Database] - fixed config
authorKevron Rees <kevron.m.rees@intel.com>
Sat, 24 Jan 2015 00:13:22 +0000 (16:13 -0800)
committerKevron Rees <kevron.m.rees@intel.com>
Sat, 24 Jan 2015 00:13:22 +0000 (16:13 -0800)
ambd/pluginloader.cpp
plugins/database/database.in.json

index a2ffedd..14be943 100644 (file)
@@ -207,8 +207,6 @@ void PluginLoader::scanPluginDir(const std::string & dir)
         std::string fullpath = dir + (boost::algorithm::ends_with(dir, "/") ? "":"/") + name;
         std::string data = get_file_contents(fullpath.c_str());
 
-        DebugOut() << "data: " << data << endl;
-
         if(!readPluginConfig(data))
         {
             DebugOut(DebugOut::Error) << "Reading contentds of file: " << name << endl;
index 78eb6f0..7865162 100644 (file)
@@ -4,7 +4,7 @@
        "databaseFile" : "/tmp/storage",
        "enabled" : false,
        "bufferLength" : "100",
-       "properties" : "['VehicleSpeed', 'EngineSpeed']",
+       "properties" : ["VehicleSpeed", "EngineSpeed"],
        "startOnLoad" : "false",
        "playbackOnLoad" : "false",
        "playbackMultiplier" : "1",