IdentityServer raises a number of events at runtime, e.g:

By default these events are forwarded to the configured log provider - a custom event service can process or forward them in any way suitable for the environment.

Configuring events

The EventsOptions class has the following settings (all default to false):

See here for a post about logging and eventing.