SystemLoggingDBCleaner

SystemLoggingDBCleaner erases records whose messageTime column contains a time older than ‘RemoveDate’ days, where ‘RemoveDate’ is an entry in the Configuration Service section of the agent.

class DIRAC.FrameworkSystem.Agent.SystemLoggingDBCleaner.SystemLoggingDBCleaner(agentName, loadName, baseAgentName=False, properties={})

Bases: DIRAC.Core.Base.AgentModule.AgentModule

am_Enabled()
am_checkStopAgentFile()
am_createStopAgentFile()
am_disableMonitoring()
am_getBasePath()
am_getControlDirectory()
am_getCyclesDone()
am_getMaxCycles()
am_getModuleParam(optionName)
am_getOption(optionName, defaultValue=None)
am_getPollingTime()
am_getShifterProxyLocation()
am_getStopAgentFile()
am_getWatchdogTime()
am_getWorkDirectory()
am_go()
am_initialize(*initArgs)
am_monitoringEnabled()
am_removeStopAgentFile()
am_secureCall(functor, args=(), name=False)
am_setModuleParam(optionName, value)
am_setOption(optionName, value)
am_stopExecution()
beginExecution()
endExecution()
execute()

The main agent execution method

finalize()
initialize()