Package ZenEvents :: Module syslog_h
[show private | hide private]
[frames | no frames]

Module ZenEvents.syslog_h

Function Summary
  LOG_FAC(p)
  LOG_MAKEPRI(fac, pri)
  LOG_MASK(pri)
  LOG_PRI(p)
  LOG_UNPACK(p)
  LOG_UPTO(pri)

Variable Summary
int LOG_ALERT = 1                                                                     
int LOG_AUTH = 32                                                                    
int LOG_AUTHPRIV = 80                                                                    
int LOG_CRITICAL = 2                                                                     
int LOG_CRON = 72                                                                    
int LOG_DAEMON = 24                                                                    
int LOG_DEBUG = 7                                                                     
int LOG_EMERGENCY = 0                                                                     
int LOG_ERRROR = 3                                                                     
int LOG_FACMASK = 1016                                                                  
int LOG_FTP = 88                                                                    
int LOG_INFO = 6                                                                     
int LOG_KERN = 0                                                                     
int LOG_LOCAL0 = 128                                                                   
int LOG_LOCAL1 = 136                                                                   
int LOG_LOCAL2 = 144                                                                   
int LOG_LOCAL3 = 152                                                                   
int LOG_LOCAL4 = 160                                                                   
int LOG_LOCAL5 = 168                                                                   
int LOG_LOCAL6 = 176                                                                   
int LOG_LOCAL7 = 184                                                                   
int LOG_LPR = 48                                                                    
int LOG_MAIL = 16                                                                    
int LOG_NEWS = 56                                                                    
int LOG_NFACILITIES = 24                                                                    
int LOG_NOTICE = 5                                                                     
int LOG_PRIMASK = 7                                                                     
int LOG_SYSLOG = 40                                                                    
int LOG_USER = 8                                                                     
int LOG_UUCP = 64                                                                    
int LOG_WARNING = 4                                                                     
dict pri_names = {0: 'emergency', 1: 'alert', 2: 'critical', ...
dict pri_values = {'info': 6, 'notice': 5, 'emergency': 0, 'e...

Variable Details

LOG_ALERT

Type:
int
Value:
1                                                                     

LOG_AUTH

Type:
int
Value:
32                                                                    

LOG_AUTHPRIV

Type:
int
Value:
80                                                                    

LOG_CRITICAL

Type:
int
Value:
2                                                                     

LOG_CRON

Type:
int
Value:
72                                                                    

LOG_DAEMON

Type:
int
Value:
24                                                                    

LOG_DEBUG

Type:
int
Value:
7                                                                     

LOG_EMERGENCY

Type:
int
Value:
0                                                                     

LOG_ERRROR

Type:
int
Value:
3                                                                     

LOG_FACMASK

Type:
int
Value:
1016                                                                  

LOG_FTP

Type:
int
Value:
88                                                                    

LOG_INFO

Type:
int
Value:
6                                                                     

LOG_KERN

Type:
int
Value:
0                                                                     

LOG_LOCAL0

Type:
int
Value:
128                                                                   

LOG_LOCAL1

Type:
int
Value:
136                                                                   

LOG_LOCAL2

Type:
int
Value:
144                                                                   

LOG_LOCAL3

Type:
int
Value:
152                                                                   

LOG_LOCAL4

Type:
int
Value:
160                                                                   

LOG_LOCAL5

Type:
int
Value:
168                                                                   

LOG_LOCAL6

Type:
int
Value:
176                                                                   

LOG_LOCAL7

Type:
int
Value:
184                                                                   

LOG_LPR

Type:
int
Value:
48                                                                    

LOG_MAIL

Type:
int
Value:
16                                                                    

LOG_NEWS

Type:
int
Value:
56                                                                    

LOG_NFACILITIES

Type:
int
Value:
24                                                                    

LOG_NOTICE

Type:
int
Value:
5                                                                     

LOG_PRIMASK

Type:
int
Value:
7                                                                     

LOG_SYSLOG

Type:
int
Value:
40                                                                    

LOG_USER

Type:
int
Value:
8                                                                     

LOG_UUCP

Type:
int
Value:
64                                                                    

LOG_WARNING

Type:
int
Value:
4                                                                     

pri_names

Type:
dict
Value:
{0: 'emergency',
 1: 'alert',
 2: 'critical',
 3: 'errror',
 4: 'warning',
 5: 'notice',
 6: 'info',
 7: 'primask'}                                                         

pri_values

Type:
dict
Value:
{'alert': 1,
 'critical': 2,
 'debug': 7,
 'emergency': 0,
 'errror': 3,
 'info': 6,
 'notice': 5,
 'primask': 7,
...                                                                    

Generated by Epydoc 2.1 on Thu Aug 16 09:55:15 2007 http://epydoc.sf.net