diff --git a/src/content/docs/plugin/logging.mdx b/src/content/docs/plugin/logging.mdx index ef52478da4..14f4376db4 100644 --- a/src/content/docs/plugin/logging.mdx +++ b/src/content/docs/plugin/logging.mdx @@ -237,11 +237,11 @@ tauri_plugin_log::Builder::new() When using the LogDir target, all logs are stored in the recommended log directory. The following table describes the location of the logs per platform: -| Platform | Value | Example | -| -------- | ------------------------------------------------- | ------------------------------------------------- | -| Linux | `{configDir}/{bundleIdentifier}` | `/home/alice/.config/com.tauri.dev` | -| macOS | `{homeDir}/Library/Logs/{bundleIdentifier}` | `/Users/Alice/Library/Logs/com.tauri.dev` | -| Windows | `{FOLDERID_LocalAppData}/{bundleIdentifier}/logs` | `C:\Users\Alice\AppData\Local\com.tauri.dev\logs` | +| Platform | Value | Example | +| -------- | ---------------------------------------------------------------------------------------- | ------------------------------------------------- | +| Linux | `$XDG_DATA_HOME/{bundleIdentifier}/logs` or `$HOME/.local/share/{bundleIdentifier}/logs` | `/home/alice/.local/share/com.tauri.dev/logs` | +| macOS | `{homeDir}/Library/Logs/{bundleIdentifier}` | `/Users/Alice/Library/Logs/com.tauri.dev` | +| Windows | `{FOLDERID_LocalAppData}/{bundleIdentifier}/logs` | `C:\Users\Alice\AppData\Local\com.tauri.dev\logs` | - `Folder`: