Skip to content

Options for audit logs are not marked for requiring restart #10099

@marbens-arch

Description

@marbens-arch

What happened?

The AuditEnabled and AuditFile options don't have the restart attribute set to "true".

This means that GET /rest/config/restart-required with the REST API will erroneously return:

{
  "requiresRestart": false
}

And that the user won't get a prompt to restart Syncthing.

Syncthing version

v1.29.6

Platform & operating system

Linux amd64

Browser version

No response

Relevant log output

2025-05-07 12:14:58 http: GET "/rest/config/restart-required": status 200, 31 bytes in 0.07 ms

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA problem with current functionality, as opposed to missing functionality (enhancement)good first issueGood starting points for new contributorsneeds-triageNew issues needed to be validated

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions