Skip to main content

prefect.server.events.services.event_logger

Classes

EventLogger

A debugging service that logs events to the console as they arrive. Methods:

all_services

Get list of all service classes

enabled

Whether the service is enabled

enabled_services

Get list of enabled service classes

environment_variable_name

run_services

Run enabled services until cancelled.

running

A context manager that runs enabled services on entry and stops them on exit.

service_settings

service_settings

The Prefect setting that controls whether the service is enabled

start

start

Start running the service, which may run indefinitely

stop

stop

Stop the service