mirror of
https://github.com/swift-server/swift-service-lifecycle
synced 2026-11-24 04:38:12 +00:00
Add an extra `serviceName` field to the `ServiceConfiguration` to customize SSL logs metadata. Motivation: This would allow giving meaningful name to services and service groups. Closes #220. Modifications: - Added `.serviceName` to the `ServiceConfiguration`. - Added a new initializer for `ServiceConfiguration` with `serviceName` param. - Logs now use `.serviceName` instead of `.service` for `sl-service` metadata value. Result: Different `ServiceGroup`s can be distinguished in the logs.