Skip to content

fix: Add tracing settings loading from runtime_settings.json#9081

Merged
mudler merged 1 commit intomudler:masterfrom
localai-bot:fix-tracing-settings-persistence-9072
Mar 19, 2026
Merged

fix: Add tracing settings loading from runtime_settings.json#9081
mudler merged 1 commit intomudler:masterfrom
localai-bot:fix-tracing-settings-persistence-9072

Conversation

@localai-bot
Copy link
Copy Markdown
Contributor

Description

Tracing settings (EnableTracing and TracingMaxItems) were not being loaded from runtime_settings.json on startup, causing tracing settings configured via WebUI to be lost after service restart.

Changes

This fix adds proper loading of tracing settings in loadRuntimeSettingsFromFile function in core/application/startup.go.

Fixes

Fixes #9072

Tracing settings (EnableTracing and TracingMaxItems) were not being
loaded from runtime_settings.json on startup, causing tracing settings
configured via WebUI to be lost after service restart.

This fix adds proper loading of tracing settings in
loadRuntimeSettingsFromFile function in core/application/startup.go.

Fixes mudler#9072
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 19, 2026

Deploy Preview for localai ready!

Name Link
🔨 Latest commit ed4a129
🔍 Latest deploy log https://app.netlify.com/projects/localai/deploys/69bc7ecca2d7c7000811782e
😎 Deploy Preview https://deploy-preview-9081--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mudler mudler merged commit 2b12875 into mudler:master Mar 19, 2026
31 of 32 checks passed
@localai-bot
Copy link
Copy Markdown
Contributor Author

Fixed the DCO check by amending the commit with a Signed-off-by line. The commit has been force-pushed. CI checks should now re-run with the DCO check passing.

localai-bot added a commit to localai-bot/LocalAI that referenced this pull request Mar 25, 2026
…9081)

Tracing settings (EnableTracing and TracingMaxItems) were not being
loaded from runtime_settings.json on startup, causing tracing settings
configured via WebUI to be lost after service restart.

This fix adds proper loading of tracing settings in
loadRuntimeSettingsFromFile function in core/application/startup.go.

Fixes mudler#9072

Co-authored-by: localai-bot <localai-bot@localai.io>
@mudler mudler added the bug Something isn't working label Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tracing settings overwritten after systemd restart

2 participants