Skip to content

Logs get logged to both /var/log/lnt/lnt.log and /var/lib/lnt/instance/lnt.log #137

@ldionne

Description

@ldionne

Due to https://github.com/llvm/llvm-lnt/blob/main/docker/docker-entrypoint.sh#L27, we log to /var/log/lnt/lnt.log. That's where we intend to log stuff.

However, due to https://github.com/llvm/llvm-lnt/blob/main/lnt/server/ui/app.py#L36 and https://github.com/llvm/llvm-lnt/blob/main/lnt/server/ui/app.py#L193, we end up also logging at <instance-path>/lnt.log, which is within /var/lib/lnt. That's bad since in production, /var/lib/lnt is intended to persist since it contains the instance configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions