Logs and diagnostics
Logging system#
Vasak Desktop uses Rust’s standard logging system through the log crate. Log messages
are not saved to files by default; they are sent to standard error (stderr).
How to see the logs#
Running with logs enabled#
To see the logs when running the application, use the RUST_LOG environment variable:
| |
Available log levels:
error- Only critical errorswarn- Warnings and errorsinfo- General information + warn + errordebug- Detailed information (recommended for debugging)trace- Extremely detailed (for development)
Seeing the logs if you launch from a launcher#
If you start Vasak Desktop from an application launcher or at login, you can see the logs
with journalctl:
| |
Redirecting logs to a file#
If you need to save the logs to a file for analysis:
| |
Configuration files#
The system configuration is stored in:
| |
This file contains:
dark_mode- Dark mode stateicon_pack- Selected icon packcursor_theme- Cursor themegtk_theme- GTK theme
Advanced debugging#
The log files contain information at different levels of detail:
- DEBUG - Detailed information for developers (a lot of it)
- INFO - General information about how things work
- WARN - Warnings (something might not work correctly)
- ERROR - Errors (something stopped working)
- CRITICAL - Serious errors that can cause crashes
Clearing logs#
The logs are regenerated automatically. If you need to clear old logs:
| |
Exporting logs for a report#
If you need to share logs with the developers:
| |
This creates a timestamped file that you can attach to a bug report.
D-Bus logs#
To debug D-Bus communication (used for audio, bluetooth, notifications):
| |
Further information#
Checking whether the application is running#
| |
Checking resource usage#
| |
Note: if you find a bug, see the bug reporting guide to find out what information to include.