Home | Trees | Indices | Help |
|
---|
|
StarCluster logging module
|
|||
ConsoleLogger | |||
NullHandler |
|
|||
|
|||
|
|||
|
|||
|
|
|||
INFO = 20
|
|||
DEBUG = 10
|
|||
WARN = 30
|
|||
ERROR = 40
|
|||
CRITICAL = 50
|
|||
FATAL = 50
|
|||
RAW_FORMAT =
|
|||
INFO_FORMAT =
|
|||
DEBUG_FORMAT =
|
|||
DEBUG_FORMAT_PID =
|
|||
DEFAULT_CONSOLE_FORMAT =
|
|||
ERROR_CONSOLE_FORMAT =
|
|||
WARN_CONSOLE_FORMAT =
|
|||
log = get_starcluster_logger()
|
|||
console = ConsoleLogger()
|
|||
__package__ =
|
|
Configure logging for StarCluster *application* code By default StarCluster's logger has no formatters and a NullHandler so that other developers using StarCluster as a library can configure logging as they see fit. This method is used in StarCluster's application code (ie the 'starcluster' command) to toggle StarCluster's application specific formatters/handlers use_syslog - enable logging all messages to syslog. currently only works if /dev/log exists on the system (standard for most Linux distros) |
|
DEBUG_FORMAT
|
DEBUG_FORMAT_PID
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Jun 27 11:48:12 2011 | http://epydoc.sourceforge.net |