Skip to content
Snippets Groups Projects
Commit e2393a7b authored by Ruud Overeem's avatar Ruud Overeem
Browse files

BugID: 1014

Removed link to PVSS in KetValueLoggerDaemon.
parent da4a6030
Branches
Tags
No related merge requests found
...@@ -367,7 +367,6 @@ MAC/GCF/GCFCommon/configure.in -text svneol=native#application/octet-stream ...@@ -367,7 +367,6 @@ MAC/GCF/GCFCommon/configure.in -text svneol=native#application/octet-stream
MAC/GCF/GCFCommon/pvss/scripts/libs/gcf-common.ctl -text svneol=native#application/octet-stream MAC/GCF/GCFCommon/pvss/scripts/libs/gcf-common.ctl -text svneol=native#application/octet-stream
MAC/GCF/GCFCommon/src/Makefile.am -text svneol=native#application/octet-stream MAC/GCF/GCFCommon/src/Makefile.am -text svneol=native#application/octet-stream
MAC/GCF/LogSys/CLP/Makefile.am -text svneol=native#application/octet-stream MAC/GCF/LogSys/CLP/Makefile.am -text svneol=native#application/octet-stream
MAC/GCF/LogSys/CLP/src/CodeLoggingProcessor.conf.in -text svneol=native#application/octet-stream
MAC/GCF/LogSys/CLP/src/CodeLoggingProcessor.log_prop.in -text svneol=native#application/octet-stream MAC/GCF/LogSys/CLP/src/CodeLoggingProcessor.log_prop.in -text svneol=native#application/octet-stream
MAC/GCF/LogSys/CLP/src/Makefile.am -text svneol=native#application/octet-stream MAC/GCF/LogSys/CLP/src/Makefile.am -text svneol=native#application/octet-stream
MAC/GCF/LogSys/KVLogSys/Makefile.am -text svneol=native#application/octet-stream MAC/GCF/LogSys/KVLogSys/Makefile.am -text svneol=native#application/octet-stream
......
mac.ns.GCF-CLPD.server.type=TCP
mac.ns.GCF-CLPD.server.port=25003
mac.ns.GCF-CLPD.server.host=lofar35
...@@ -11,7 +11,7 @@ log4cplus.appender.MACSTDERR.layout.ConversionPattern=%D{%d-%m %H:%M:%S.%q} %-5p ...@@ -11,7 +11,7 @@ log4cplus.appender.MACSTDERR.layout.ConversionPattern=%D{%d-%m %H:%M:%S.%q} %-5p
log4cplus.appender.MACSTDERR.logToStdErr=true log4cplus.appender.MACSTDERR.logToStdErr=true
log4cplus.appender.FILE=log4cplus::RollingFileAppender log4cplus.appender.FILE=log4cplus::RollingFileAppender
log4cplus.appender.FILE.File=../var/log/CodeLoggingProcessor.log log4cplus.appender.FILE.File=../log/CodeLoggingProcessor.log
log4cplus.appender.FILE.MaxFileSize=10MB log4cplus.appender.FILE.MaxFileSize=10MB
log4cplus.appender.FILE.MaxBackupIndex=10 log4cplus.appender.FILE.MaxBackupIndex=10
log4cplus.appender.FILE.layout=log4cplus::PatternLayout log4cplus.appender.FILE.layout=log4cplus::PatternLayout
......
DOCHDRS = \ DOCHDRS = CodeLoggingProcessor.h \
CodeLoggingProcessor.h \
PropertyProxy.h PropertyProxy.h
noinst_LTLIBRARIES = libclp.la noinst_LTLIBRARIES = libclp.la
...@@ -23,9 +22,7 @@ BUILT_SOURCES = ...@@ -23,9 +22,7 @@ BUILT_SOURCES =
EXTRA_DIST = $(sysconf_DATA) EXTRA_DIST = $(sysconf_DATA)
sysconf_DATA= \ sysconf_DATA = CodeLoggingProcessor.log_prop
CodeLoggingProcessor.conf \
CodeLoggingProcessor.log_prop
%.conf: %.conf.in %.conf: %.conf.in
cp $< $@ cp $< $@
......
...@@ -30,8 +30,8 @@ ...@@ -30,8 +30,8 @@
#include <GCF/GCF_ServiceInfo.h> #include <GCF/GCF_ServiceInfo.h>
#include <GCF/TM/GCF_Protocols.h> #include <GCF/TM/GCF_Protocols.h>
#include <GCF/PAL/GCF_Answer.h> #include <GCF/PAL/GCF_Answer.h>
#include <GCF/PAL/GCF_PVSSInfo.h> //#include <GCF/PAL/GCF_PVSSInfo.h>
#include <ManagerIdentifier.hxx> //#include <ManagerIdentifier.hxx>
namespace LOFAR { namespace LOFAR {
using TYPES::uint8; using TYPES::uint8;
...@@ -51,7 +51,7 @@ KeyValueLoggerDaemon::KeyValueLoggerDaemon() : ...@@ -51,7 +51,7 @@ KeyValueLoggerDaemon::KeyValueLoggerDaemon() :
_registerID (0), _registerID (0),
_curSeqNr (0), _curSeqNr (0),
_oldestUnanswerdSeqNr (1), _oldestUnanswerdSeqNr (1),
_propertyLogger (*this), // _propertyLogger (*this),
_waitForAnswer (false) _waitForAnswer (false)
{ {
// register the protocol for debugging purposes // register the protocol for debugging purposes
...@@ -181,7 +181,7 @@ GCFEvent::TResult KeyValueLoggerDaemon::operational(GCFEvent& event, ...@@ -181,7 +181,7 @@ GCFEvent::TResult KeyValueLoggerDaemon::operational(GCFEvent& event,
} }
else { else {
_clientsGarbage.push_back(&port); _clientsGarbage.push_back(&port);
_propertyLogger.clientGone(port); // _propertyLogger.clientGone(port);
} }
break; break;
...@@ -274,6 +274,7 @@ GCFEvent::TResult KeyValueLoggerDaemon::operational(GCFEvent& event, ...@@ -274,6 +274,7 @@ GCFEvent::TResult KeyValueLoggerDaemon::operational(GCFEvent& event,
break; break;
} }
#if 0
case F_VCHANGEMSG: { case F_VCHANGEMSG: {
if (hourTimerID == -2) { if (hourTimerID == -2) {
LOG_DEBUG("More than 1 hour no connection with the master, so dump all receiving key value updates."); LOG_DEBUG("More than 1 hour no connection with the master, so dump all receiving key value updates.");
...@@ -309,6 +310,7 @@ GCFEvent::TResult KeyValueLoggerDaemon::operational(GCFEvent& event, ...@@ -309,6 +310,7 @@ GCFEvent::TResult KeyValueLoggerDaemon::operational(GCFEvent& event,
} }
break; break;
} }
#endif
case KVL_ANSWER: { case KVL_ANSWER: {
KVLAnswerEvent answer(event); KVLAnswerEvent answer(event);
...@@ -329,7 +331,7 @@ GCFEvent::TResult KeyValueLoggerDaemon::operational(GCFEvent& event, ...@@ -329,7 +331,7 @@ GCFEvent::TResult KeyValueLoggerDaemon::operational(GCFEvent& event,
case KVL_SKIP_UPDATES_FROM: { case KVL_SKIP_UPDATES_FROM: {
KVLSkipUpdatesFromEvent request(event); KVLSkipUpdatesFromEvent request(event);
_propertyLogger.skipUpdatesFrom(request.man_id, port); // _propertyLogger.skipUpdatesFrom(request.man_id, port);
break; break;
} }
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include <GCF/TM/GCF_TCPPort.h> #include <GCF/TM/GCF_TCPPort.h>
#include <KVL_Protocol.ph> #include <KVL_Protocol.ph>
#include <KVLDefines.h> #include <KVLDefines.h>
#include <PropertyLogger.h> //#include <PropertyLogger.h>
namespace LOFAR { namespace LOFAR {
namespace GCF { namespace GCF {
...@@ -67,7 +67,7 @@ private: ...@@ -67,7 +67,7 @@ private:
uint8 _registerID; uint8 _registerID;
uint64 _curSeqNr; uint64 _curSeqNr;
uint64 _oldestUnanswerdSeqNr; uint64 _oldestUnanswerdSeqNr;
PropertyLogger _propertyLogger; // PropertyLogger _propertyLogger;
bool _waitForAnswer; bool _waitForAnswer;
}; };
......
...@@ -8,8 +8,8 @@ DOCHDRS = KVLDefines.h \ ...@@ -8,8 +8,8 @@ DOCHDRS = KVLDefines.h \
KeyValueLoggerDaemon.h \ KeyValueLoggerDaemon.h \
KeyValueLoggerMaster.h \ KeyValueLoggerMaster.h \
KVLUtils.h \ KVLUtils.h \
PropertyLogger.h \
$(BUILT_SOURCES) $(BUILT_SOURCES)
# PropertyLogger.h
bin_PROGRAMS = KeyValueLoggerDaemon KeyValueLoggerMaster bin_PROGRAMS = KeyValueLoggerDaemon KeyValueLoggerMaster
lib_LTLIBRARIES = libgcfkvlc.la libcepkvlc.la lib_LTLIBRARIES = libgcfkvlc.la libcepkvlc.la
...@@ -29,8 +29,8 @@ libkvlprot_la_SOURCES = $(DOCHDRS) \ ...@@ -29,8 +29,8 @@ libkvlprot_la_SOURCES = $(DOCHDRS) \
KVLUtils.cc KVLUtils.cc
libkvld_la_SOURCES = $(DOCHDRS) \ libkvld_la_SOURCES = $(DOCHDRS) \
KeyValueLoggerDaemon.cc \ KeyValueLoggerDaemon.cc
PropertyLogger.cc # PropertyLogger.cc
libkvld_la_LIBADD = libkvlprot.la libkvld_la_LIBADD = libkvlprot.la
libkvld_la_CPPFLAGS = -DLOFARLOGGER_SUBPACKAGE=\"KVLD\" libkvld_la_CPPFLAGS = -DLOFARLOGGER_SUBPACKAGE=\"KVLD\"
......
SUBDIRS=KVLogSys CLP include SUBDIRS=KVLogSys CLP include
pkgextdir = $(prefix)/config/$(PACKAGE) #pkgextdir = $(prefix)/config/$(PACKAGE)
pkgext_DATA = pkgext pkgextcppflags pkgextcxxflags pkgextldflags #pkgext_DATA = pkgext pkgextcppflags pkgextcxxflags pkgextldflags
#DISTCHECK_CONFIGURE_FLAGS=\ #DISTCHECK_CONFIGURE_FLAGS=\
# --with-common=$(prefix) # "common" is an example # --with-common=$(prefix) # "common" is an example
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment