diff --git a/MAC/GCF/LogSys/KVLogSys/src/KeyValueLoggerMaster.cc b/MAC/GCF/LogSys/KVLogSys/src/KeyValueLoggerMaster.cc index c2f02efa03d8071c185d1fd1157c87a8910f8762..d7ff961818518fb0f07b7378437b4a9eb78bca61 100644 --- a/MAC/GCF/LogSys/KVLogSys/src/KeyValueLoggerMaster.cc +++ b/MAC/GCF/LogSys/KVLogSys/src/KeyValueLoggerMaster.cc @@ -44,7 +44,9 @@ using namespace TM; KeyValueLoggerMaster::KeyValueLoggerMaster() : GCFTask((State)&KeyValueLoggerMaster::initial, KVL_MASTER_TASK_NAME), - _otdb("paulus", "boskabouter", "tilman"), + _otdb(ParameterSet::instance()->getString("kvlm.otdb.dbusername"), + ParameterSet::instance()->getString("kvlm.otdb.dbpassword"), + ParameterSet::instance()->getString("kvlm.otdb.dbname")), _pTV(0) { // register the protocol for debugging purposes diff --git a/MAC/GCF/LogSys/KVLogSys/src/KeyValueLoggerSys.conf.in b/MAC/GCF/LogSys/KVLogSys/src/KeyValueLoggerSys.conf.in index 785e54fe2b1156fc3b14a95324b8f3a28f703454..72d16b8c3e30819bc754b2c6c70da73d4b64ce47 100644 --- a/MAC/GCF/LogSys/KVLogSys/src/KeyValueLoggerSys.conf.in +++ b/MAC/GCF/LogSys/KVLogSys/src/KeyValueLoggerSys.conf.in @@ -5,4 +5,7 @@ mac.top.GCF-KVLD.client.remoteservice=GCF-KVLM:server mac.ns.GCF-KVLD.server.type=TCP mac.ns.GCF-KVLD.server.port=25002 mac.ns.GCF-KVLD.server.host=sun -mac.top.GCF-KVLC.client.remoteservice=GCF-KVLD:server \ No newline at end of file +mac.top.GCF-KVLC.client.remoteservice=GCF-KVLD:server +kvlm.otdb.dbname=tilman +kvlm.otdb.dbusername=paulus +kvlm.otdb.dbpassword=boskabouter