Skip to content

[Feature] Ability to control log location and level. #357

@SeeJayEmm

Description

@SeeJayEmm

Describe the feature

Add the ability to control the log level written to the system journal as well as the local log file.
Add the ability to disable the local log file (as that info is already written to the system journal).

Currently INFO is written to the system journal and DEBUG is written to a local file.

Use Case

This is causing significant unnecessary disk usage and churn.

In our situation we want all logging written to journald which is then shipped to a central logging point. Managing local log files is not desired. DEBUG logging, when not troubleshooting, is also not desired.

Alternatives considered

I have searched for and been unable to find any settings, env variables, or command line opts that control this.

How important is this for you?

Would improve my workflow

Checklist

  • I have searched existing issues and discussions to make sure this hasn't been requested before

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions