Package ioids :: Module ioidslogging
[hide private]
[frames] | no frames]

Module ioidslogging

source code

Provides Logging facilities.

Inter-Organisational Intrusion Detection System (IOIDS)

This is just a copy from the G4DS logging facilities with changes applied to make it suitable for IOIDS use. (looks like, it should be extracted in a tools module ;))


Author: Michael Pilgermann

Contact: mailto:mpilgerm@glam.ac.uk

License: GPL (General Public License)

Classes [hide private]
  FileLogger
All messages are equipped with a timestamp and line wise written to a log file.
Functions [hide private]
 
getDefaultLogger()
Singleton implementation.
source code
Variables [hide private]
  _defaultLogger = None
  LOGSERVER_STATUS = 0
  EVENTTRIGGER_STATUS = 199
  EVENTTRIGGER_UPDATE = 198
  EVENTTRIGGER_UPDATE_DETAILS = 197
  DATAENGINE_ERROR_GENERIC = 200
  DATAENGINE_STATUS = 299
  DATAENGINE_PROCESSING_DETAILS = 298
  DATAENGINE_POLICY_STATUS = 290
  DATAENGINE_POLICY_INFORMATION = 289
  G4DS_CONNECTOR_STATUS = 299
  G4DS_CONNECTOR_ERROR_GENERIC = 200
  G4DS_CONNECTOR_INCOMING_MSG = 211
  G4DS_CONNECTOR_INCOMING_MSG_DETAILS = 212
  G4DS_CONNECTOR_OUTGOING_MSG = 221
  G4DS_CONNECTOR_OUTGOING_MSG_DETAILS = 222
  CLASS = {0: [0], 1: [199, 299, 299, 290, 0], 2: [200, 200, 199...
Variables Details [hide private]

CLASS

Value:
{0: [0],
 1: [199, 299, 299, 290, 0],
 2: [200, 200, 199, 299, 299, 290, 0],
 3: [198, 211, 221, 200, 200, 199, 299, 299, 290, 0],
 4: [212, 222, 198, 211, 221, 200, 200, 199, 299, 299, 290, 0],
 5: [197, 298, 289]}