Skip to content

Log File actuator #1496

@TimHess

Description

@TimHess

I'd like to discuss adding the logfile actuator. If this is something the team would be open to, I'm happy to work the issue.

My use case:
I have multiple services in production across a few different environments (Cloud Foundry, K8s, Azure AppServices) that all use either Steeltoe or Spring Boot. The .NET services use Serilog.

I monitor them with Spring Boot Admin. I don't want to incur the cost of running a centralized logging system like Loki as it's a bit overkill for my needs. As it exists right now, I can configure the logging levels of all of my services through SBA, but only view the logfile of the Spring Boot services.

My desired behavior:
I'd like to specify a management:endpoints:logfile:filepath property and enable a /actuator/logfile management endpoint which would serve the contents of that file as text/plain.

Originally posted by @tscrypter in #668

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component/ManagementIssues related to Steeltoe Management (actuators)ReleaseLine/4.xIdentified as a feature/fix for the 4.x release lineType/enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions