PilotsLoggingDB

PilotsLoggingDB class is a front-end to the Pilots Logging Database. This database keeps track of all the submitted grid pilot jobs. It also registers the mapping of the DIRAC jobs to the pilot agents.

Available methods are:

addPilotsLogging() getPilotsLogging() deletePilotsLoggin()

class DIRAC.WorkloadManagementSystem.DB.PilotsLoggingDB.PilotsLogging(pilotUUID, timestamp, source, phase, status, messageContent)

Bases: Base

PilotsLogging table

__init__(pilotUUID, timestamp, source, phase, status, messageContent)

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in kwargs.

Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.

logID
messageContent
metadata: MetaData = MetaData()
phase
pilotUUID
registry: RegistryType = <sqlalchemy.orm.decl_api.registry object>
source
status
timestamp
class DIRAC.WorkloadManagementSystem.DB.PilotsLoggingDB.PilotsLoggingDB(parentLogger=None)

Bases: object

__init__(parentLogger=None)
addPilotsLogging(pilotUUID, timestamp, source, phase, status, messageContent)

Add new pilot logging entry

deletePilotsLogging(pilotUUID)

Delete all logging entries for pilot

getPilotsLogging(pilotUUID)

Get list of logging entries for pilot