Centralized log management configuration.
Serilog to mange the logs record. Every plugin can enrich log with additional data and/or configure
Serilog sinks for proper log storage.
In order to perform configuration plugin should have
ILoggerConfigurator implementation and register it with the DI. There can be any number of log configurators and they are all work together.
There are two predefined log sinks out of the box:
KlusterKit.Log.Consolethat outputs log records to the service console. Please look for the sample configuration
KlusterKite.Log.ElasticSearchthat puts log records to the ElasticSearch service. Please look for the sample configuration
Please note, that
KlusterKite.Log.ElasticSearch devides log records for regular ones and security audit logs to put them in sepparte sinks. This can be used as reference.