Package g4ds :: Module g4dslogging
[show private | hide private]
[frames | no frames]

Module g4ds.g4dslogging

Provides Logging facilities.

Grid for Digital Security (G4DS)

Currently, simple logging into files.

Author: Michael Pilgermann

Contact: mailto:mpilgerm@glam.ac.uk

License: GPL (General Public License)

Classes
FileLogger All messages are equipped with a timestamp and line wise written to a log file.

Function Summary
  getDefaultLogger()
Singleton implementation.

Variable Summary
dict CLASS = {0: [0, 100, 200], 1: [101, 201, 601, 0, 100, 20...
int COMMUNICATION_INCOMING_ERROR = 100                                                                   
int COMMUNICATION_INCOMING_MSG = 199                                                                   
int COMMUNICATION_INCOMING_MSG_DETAILS = 198                                                                   
int COMMUNICATION_INCOMING_NO_ENDPOINT = 101                                                                   
int COMMUNICATION_OUTGOING_ERROR = 200                                                                   
int COMMUNICATION_OUTGOING_MSG = 299                                                                   
int COMMUNICATION_OUTGOING_MSG_CTRL = 298                                                                   
int COMMUNICATION_OUTGOING_MSG_DETAILS = 296                                                                   
int COMMUNICATION_OUTGOING_MSG_ROUTED = 297                                                                   
int COMMUNICATION_OUTGOING_NO_ENDPOINT = 201                                                                   
int PERMISSION_MATRIX_RECALCULATED = 699                                                                   
int PERMISSION_MESSAGE_DROPPED = 601                                                                   
int PERMISSION_MESSAGE_PASSED = 698                                                                   
int PERMISSION_POLICY_ERROR = 602                                                                   
int ROUTING_MESSAGE_PASSED = 899                                                                   
int ROUTING_TABLE_UPDATED = 799                                                                   
int ROUTING_TABLE_UPDATED_ERROR = 700                                                                   
int ROUTING_TABLE_UPDATED_MANUALLY = 798                                                                   
int ROUTING_TABLE_UPDATED_PUHSHED = 797                                                                   
int SERVICES_CLIENT_CONNECT = 998                                                                   
int SERVICES_CLIENT_DISCONNECT = 997                                                                   
int SERVICES_CLIENT_SENDINGERROR = 900                                                                   
int SERVICES_NEW_INCOMING = 999                                                                   
NoneType _defaultLogger = None                                                                  

Function Details

getDefaultLogger()

Singleton implementation.

Variable Details

CLASS

Type:
dict
Value:
{0: [0, 100, 200],
 1: [101, 201, 601, 0, 100, 200],
 2: [799, 699, 101, 201, 601, 0, 100, 200],
 3: [698, 799, 699, 101, 201, 601, 0, 100, 200],
 4: [698, 799, 699, 101, 201, 601, 0, 100, 200],
 5: []}                                                                

COMMUNICATION_INCOMING_ERROR

Type:
int
Value:
100                                                                   

COMMUNICATION_INCOMING_MSG

Type:
int
Value:
199                                                                   

COMMUNICATION_INCOMING_MSG_DETAILS

Type:
int
Value:
198                                                                   

COMMUNICATION_INCOMING_NO_ENDPOINT

Type:
int
Value:
101                                                                   

COMMUNICATION_OUTGOING_ERROR

Type:
int
Value:
200                                                                   

COMMUNICATION_OUTGOING_MSG

Type:
int
Value:
299                                                                   

COMMUNICATION_OUTGOING_MSG_CTRL

Type:
int
Value:
298                                                                   

COMMUNICATION_OUTGOING_MSG_DETAILS

Type:
int
Value:
296                                                                   

COMMUNICATION_OUTGOING_MSG_ROUTED

Type:
int
Value:
297                                                                   

COMMUNICATION_OUTGOING_NO_ENDPOINT

Type:
int
Value:
201                                                                   

PERMISSION_MATRIX_RECALCULATED

Type:
int
Value:
699                                                                   

PERMISSION_MESSAGE_DROPPED

Type:
int
Value:
601                                                                   

PERMISSION_MESSAGE_PASSED

Type:
int
Value:
698                                                                   

PERMISSION_POLICY_ERROR

Type:
int
Value:
602                                                                   

ROUTING_MESSAGE_PASSED

Type:
int
Value:
899                                                                   

ROUTING_TABLE_UPDATED

Type:
int
Value:
799                                                                   

ROUTING_TABLE_UPDATED_ERROR

Type:
int
Value:
700                                                                   

ROUTING_TABLE_UPDATED_MANUALLY

Type:
int
Value:
798                                                                   

ROUTING_TABLE_UPDATED_PUHSHED

Type:
int
Value:
797                                                                   

SERVICES_CLIENT_CONNECT

Type:
int
Value:
998                                                                   

SERVICES_CLIENT_DISCONNECT

Type:
int
Value:
997                                                                   

SERVICES_CLIENT_SENDINGERROR

Type:
int
Value:
900                                                                   

SERVICES_NEW_INCOMING

Type:
int
Value:
999                                                                   

_defaultLogger

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.0 on Sat Oct 22 22:52:47 2005 http://epydoc.sf.net