The Virtual Brain Project

Table Of Contents

Previous topic

config Package

Next topic

core Package

This Page

logger Package

cluster_handler

class tvb.config.logger.cluster_handler.ClusterTimedRotatingFileHandler(when='h', interval=1, backupCount=0)[source]

Bases: logging.handlers.MemoryHandler

This is a custom rotating file handler which computes the name of the file depending on the execution environment (web node or cluster node)

BUFFER_CAPACITY = 20
CLUSTER_NODES_LOG_FILE = 'operations_executions.log'
WEB_LOG_FILE = 'web_application.log'