Skip to content

Make log path configurable, disable http logger if no target is set #287

@I-Al-Istannen

Description

@I-Al-Istannen

Is your feature request related to a problem? Please describe.
Using one Logviewer instance for two bots currently isn't possible, as the log paths are the same and both bots would write to the same file. Additionally, only one bot can stream logs and the other one should be disabled gracefully.

Describe the solution you'd like
Make the log path configurable via an env var, fall back to logs/app.log if none is set. Disable the http appender if no log target is set via env var.

Describe alternatives you've considered

  • Support multiple streams (more work and doesn't solve the name clash problem)
  • Multiple logviewer instances (needs more resources)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestinactivity-closedIssues that have been closed due to inactivity, but are otherwise valid and might be reopened laterpriority: normalstale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions