Skip to content

Uploading logs retrospectively #3128

@kartikprakash1

Description

@kartikprakash1

Feature description

Hi I was wondering if it's possible to support a feature like this or if there is already a way to achieve this:

We usually set our application's log verbosity to WARN level. However when there is an issue with the application we would like to have the capability to look at the logs from X days ago.

Is it possible to add a configuration to control what log levels are uploaded and if we change that configuration to something else all logs from the new level get uploaded from past X days and going forward?

Proposed solution

I would assume this can be achieved with some file based rolling storage, that keep all logs from past X days, and purge the oldest if we go beyond X days. We may want to add a storage limit as well so the logs don't eat a lot of storage from VERBOSE level.

Other relevant information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting responseWaiting for response / confirmation from the reporterenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions