Package rrlog :: Package contrib :: Module catarch_dbsa
[hide private]
[frames] | no frames]

Module catarch_dbsa

source code


Author: Ruben Reifenberg

Classes [hide private]
  MetatableCatArchiver
Saves interesting log lines (i.e.rescues them from log rotation.)
Functions [hide private]
 
_format_dict(job)
Format the row fields for writing.
source code
 
createCatArchiver(engineStr, tableNamePattern='log_archive_%s', metatableName='log_archive_meta', minArchCount=10, minClientArchCount=1, maxCount=10000, problemCats=None, cats=None, drop=True, cols=None, observers=None, filters=None)
See rrlog.contrib.catarch.CatArchiver.__init__ for specification of the parameters.
source code
Function Details [hide private]

_format_dict(job)

source code 

Format the row fields for writing.

Returns:
{colname:fieldcontent} as to be written into the database row.

createCatArchiver(engineStr, tableNamePattern='log_archive_%s', metatableName='log_archive_meta', minArchCount=10, minClientArchCount=1, maxCount=10000, problemCats=None, cats=None, drop=True, cols=None, observers=None, filters=None)

source code 

See rrlog.contrib.catarch.CatArchiver.__init__ for specification of the parameters.

Parameters: