Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: Changing tracer configuration needs a restart, but UI offers only reload #376

Open
1 task done
moeffju opened this issue Apr 23, 2024 · 1 comment
Open
1 task done
Labels
bug Something isn't working

Comments

@moeffju
Copy link
Contributor

moeffju commented Apr 23, 2024

What happened?

I changed the tracing and logging configuration, adding a tracer and submitting the form with the "Save & Reload" button. However, the tracer does not get created until the Stalwart service is restarted, making the UI misleading. Same goes for deleting tracers.

How can we reproduce the problem?

I can reproduce the problem by doing the following steps:

  • Go to Settings > Logging & Tracing
  • Create a new tracer of any type, with method logfile, and "Save & Reload"
  • Tail that logfile
  • Even though the logfile appears to be created immediately, it does not receive any output until stalwart-mail.service is restarted

Version

v0.7.x

What database are you using?

None

What blob storage are you using?

None

Where is your directory located?

None

What operating system are you using?

Linux

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@moeffju moeffju added the bug Something isn't working label Apr 23, 2024
@moeffju
Copy link
Contributor Author

moeffju commented Apr 23, 2024

(I realize the web UI does not currently support restarting the service in this constellation, but I'd like it to tell me to restart the service manually instead of suggesting that Save & Reload would make a difference.)

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

No branches or pull requests

1 participant