Skip to content

Tracing settings overwritten after systemd restart #9072

@pmarini-nc

Description

@pmarini-nc

LocalAI version:
4.1.0

Environment, CPU architecture, OS, and Version:

Linux local-ai 6.8.0-106-generic #106-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 6 07:58:08 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux

Describe the bug

Tracing settings do not survive a restart of the systemd service.

See the screen recording:

tracing-settings-not-kept-after-restart.webm

To Reproduce
Enable tracing in the WebUI the restart the service.

Expected behavior
The settings defined in the WebUI should be the same after restarting the systemd service. I've searched here an environment variable that could take precedence over the WebUI settings and that could overwrite the value but I didn't find it

Logs

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions