glogging

Module Contents

Classes

SafeAtoms(self,atoms)
Logger(self,cfg)

Functions

loggers() get list of all loggers
parse_syslog_address(addr)
loggers()

get list of all loggers

class SafeAtoms(atoms)
__init__(atoms)
__getitem__(k)
parse_syslog_address(addr)
class Logger(cfg)
__init__(cfg)
setup(cfg)
critical(msg, *args, **kwargs)
error(msg, *args, **kwargs)
warning(msg, *args, **kwargs)
info(msg, *args, **kwargs)
debug(msg, *args, **kwargs)
exception(msg, *args, **kwargs)
log(lvl, msg, *args, **kwargs)
atoms(resp, req, environ, request_time)

Gets atoms for log formating.

access(resp, req, environ, request_time)

See http://httpd.apache.org/docs/2.0/logs.html#combined for format details

now()

return date in Apache Common Log Format

reopen_files()
close_on_exec()
_get_gunicorn_handler(log)
_set_handler(log, output, fmt, stream=None)
_set_syslog_handler(log, cfg, fmt, name)
_get_user(environ)