Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Adding Serilog Breaks Logging Actuator #21

Closed
TimHess opened this issue Oct 24, 2018 · 2 comments
Closed

Adding Serilog Breaks Logging Actuator #21

TimHess opened this issue Oct 24, 2018 · 2 comments
Assignees

Comments

@TimHess
Copy link
Member

TimHess commented Oct 24, 2018

Serilog hijacks the logging pipeline via a custom ILoggerFactory - once it has been added with UseSerilog(), the Steeltoe DynamicLoggerProvider is not used by the application.

References:

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/161463156

The labels on this github issue will be updated when the story is started.

@TimHess
Copy link
Member Author

TimHess commented Dec 10, 2018

We'll need a Serilog-compatible implementation of IDynamicLoggerProvider for the logging actuator to function with Serilog.

This component may be part of the solution: https://nblumhardt.com/2014/10/dynamically-changing-the-serilog-level/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants