mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-03-21 01:41:40 +00:00
Closes #5042 Smoke test plan: - Install on a before-Firezone VM - Confirm logs default to `str0m=warn,info` - Set log filter to `debug` in GUI - Restart IPC service - Confirm logs are `debug` - Clear settings back to default - Restart IPC service - Confirm logs are `str0m=warn,info` Directions to apply new log level: 1. Put the new log filter in 2. Click "Apply" 3. Quit Firezone Client 4. Right-click on the Start Menu and click "Terminal (Admin)" to open a Powershell prompt 5. Run `Restart-Service -Name FirezoneClientIpcService` (on Linux, `sudo systemctl restart firezone-client-ipc.service`) 6. Re-open Firezone Client ```[tasklist] - [x] Log the log filter maybe - [x] Use `atomicwrites` to write the file - [x] (cancelled) ~~Make the GUI write the file on boot if it's not there (saves a step when upgrading from older versions)~~ - [x] Windows smoke test - [x] Fix permissions on `/var/lib/dev.firezone.client/config` - [x] Fix Linux IPC service not loading the log filter file - [x] Linux smoke test - [ ] Make sure it's okay that users in `firezone-client` can change the device ID - [ ] Update user guides to include restarting the computer or IPC service after updating the log level? ``` --------- Signed-off-by: Reactor Scram <ReactorScram@users.noreply.github.com>