Commit 86056d54 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Include what handler class is ignoring a packet, and switch the log level to

ERROR since we don't want any useless packets.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@660 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 0ce0731e
...@@ -39,66 +39,49 @@ class MasterEventHandler(EventHandler): ...@@ -39,66 +39,49 @@ class MasterEventHandler(EventHandler):
raise NotImplementedError('this method must be overridden') raise NotImplementedError('this method must be overridden')
def handleNotifyNodeInformation(self, conn, packet, node_list): def handleNotifyNodeInformation(self, conn, packet, node_list):
logging.info('ignoring Notify Node Information') logging.error('ignoring Notify Node Information in %s', self.__class__.__name__)
pass
def handleAnswerLastIDs(self, conn, packet, loid, ltid, lptid): def handleAnswerLastIDs(self, conn, packet, loid, ltid, lptid):
logging.info('ignoring Answer Last IDs') logging.error('ignoring Answer Last IDs in %s' % self.__class__.__name__)
pass
def handleAnswerPartitionTable(self, conn, packet, ptid, cell_list): def handleAnswerPartitionTable(self, conn, packet, ptid, cell_list):
logging.info('ignoring Answer Partition Table') logging.error('ignoring Answer Partition Table in %s' % self.__class__.__name__)
pass
def handleAnswerUnfinishedTransactions(self, conn, packet, tid_list): def handleAnswerUnfinishedTransactions(self, conn, packet, tid_list):
logging.info('ignoring Answer Unfinished Transactions') logging.error('ignoring Answer Unfinished Transactions in %s' % self.__class__.__name__)
pass
def handleAnswerTransactionInformation(self, conn, packet, tid, def handleAnswerTransactionInformation(self, conn, packet, tid, user, desc, ext, oid_list):
user, desc, ext, oid_list): logging.error('ignoring Answer Transactin Information in %s' % self.__class__.__name__)
logging.info('ignoring Answer Transactin Information')
pass
def handleTidNotFound(self, conn, packet, message): def handleTidNotFound(self, conn, packet, message):
logging.info('ignoring Answer OIDs By TID') logging.error('ignoring Answer OIDs By TID in %s' % self.__class__.__name__)
pass
def handleAnswerObjectPresent(self, conn, packet, oid, tid): def handleAnswerObjectPresent(self, conn, packet, oid, tid):
logging.info('ignoring Answer Object Present') logging.error('ignoring Answer Object Present in %s' % self.__class__.__name__)
pass
def handleOidNotFound(self, conn, packet, message): def handleOidNotFound(self, conn, packet, message):
logging.info('ignoring OID Not Found') logging.error('ignoring OID Not Found in %s' % self.__class__.__name__)
pass
def handleAskNewTID(self, conn, packet): def handleAskNewTID(self, conn, packet):
logging.info('ignoring Ask New TID') logging.error('ignoring Ask New TID in %s' % self.__class__.__name__)
pass
def handleAskNewOIDs(self, conn, packet): def handleAskNewOIDs(self, conn, packet):
logging.info('ignoring Ask New OIDs') logging.error('ignoring Ask New OIDs in %s' % self.__class__.__name__)
pass
def handleFinishTransaction(self, conn, packet, oid_list, tid): def handleFinishTransaction(self, conn, packet, oid_list, tid):
logging.info('ignoring Finish Transaction') logging.error('ignoring Finish Transaction in %s' % self.__class__.__name__)
pass
def handleNotifyInformationLocked(self, conn, packet, tid): def handleNotifyInformationLocked(self, conn, packet, tid):
logging.info('ignoring Notify Information Locked') logging.error('ignoring Notify Information Locked in %s' % self.__class__.__name__)
pass
def handleAbortTransaction(self, conn, packet, tid): def handleAbortTransaction(self, conn, packet, tid):
logging.info('ignoring Abort Transaction') logging.error('ignoring Abort Transaction in %s' % self.__class__.__name__)
pass
def handleAskLastIDs(self, conn, packet): def handleAskLastIDs(self, conn, packet):
logging.info('ignoring Ask Last IDs') logging.error('ignoring Ask Last IDs in %s' % self.__class__.__name__)
pass
def handleAskUnfinishedTransactions(self, conn, packet): def handleAskUnfinishedTransactions(self, conn, packet):
logging.info('ignoring ask unfinished transactions') logging.error('ignoring ask unfinished transactions in %s' % self.__class__.__name__)
pass
def handleNotifyPartitionChanges(self, conn, packet, ptid, cell_list): def handleNotifyPartitionChanges(self, conn, packet, ptid, cell_list):
logging.info('ignoring notify partition changes') logging.error('ignoring notify partition changes in %s' % self.__class__.__name__)
pass
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment