Commit 3c61cba9 authored by Marco Buttu's avatar Marco Buttu
Browse files

Fix #98: define LOGGING_CHANNEL_KIND because it is no more available in acscommon

parent 4c59efd9
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -37,6 +37,10 @@
#include <expat_log_parsing.h>

#define WRITER_THREAD_NAME "logwriter"
/* We used acscommon::LOGGING_CHANNEL_KIND in ACS-8.2, but
 * it is no more available.  That is why we are defining it.
 */ 
const char *const LOGGING_CHANNEL_KIND = "";

/**
 * Event Type used in the ACS Notification Channel.
+1 −1
Original line number Diff line number Diff line
@@ -119,7 +119,7 @@ CustomLoggerImpl::initialize() throw (ACSErr::ACSbaseExImpl)
    CosNaming::Name name(1);
    name.length(1);
    name[0].id = CORBA::string_dup(CUSTOM_LOGGING_CHANNEL);
    name[0].kind = acscommon::LOGGING_CHANNEL_KIND;
    name[0].kind = LOGGING_CHANNEL_KIND;
    ifgop_ = CosNotifyChannelAdmin::OR_OP;
    m_nevents_sp->getDevIO()->write((long)0, _timestamp);
    ACS_SHORT_LOG((LM_DEBUG, "CutomLoggerImpl : resolving name service"));