Tips··Tauri

Where to find log files on Tauri Apps

Building a tauri app and don't know where to find the logs? This short post will show you where to find the logs for your Tauri app.

Aptabase Team @aptabase

It might be surprising to some on why would I write a blog post about log files for Tauri apps. But I’ve struggled way too many times to find the logs for my apps and I’m sure I’m not the only one.

First of all I’d highly recommend using the official log plugin for Tauri. If you’re not yet using it, definitely check it out on our Complete Guide to Logging with Tauri.

Back to the main question, where are the logs for Tauri apps? Well, it depends on the platform you’re running your app on.

PlatformLocationExample
macOS$HOME/Library/Logs/{bundleIdentifier}/Users/Bob/Library/Logs/com.domain.appname
Windows%APPDATA%\${bundleIdentifier}\logsC:\Users\Bob\AppData\Roaming\com.domain.appname\logs
Linux$HOME/.config/${bundleIdentifier}/logs/home/bob/.config/com.domain.appname\logs

But what is the bundleIdentifier? This is configured in your tauri.conf.json file. For example, if you have the following config, the bundle identifier would be com.domain.appname.

{
  "$schema": "../node_modules/@tauri-apps/cli/schema.json",
  "build": {
    "beforeBuildCommand": "npm run build:vite",
    "beforeDevCommand": "npm run dev:vite",
    "devPath": "http://localhost:5173",
    "distDir": "../dist"
  },
  "package": {
    "productName": "YourAppName",
    "version": "1.3.2"
  },
  "tauri": {
    "bundle": {
      "active": true,
      "category": "DeveloperTool",
      "identifier": "com.domain.appname",
      ...

Hopefully this short post will help you find the logs for your Tauri apps, which is often needed when asking users to report issues and share the log files.

Analytics for Tauri appsWithout compromising on privacy

Aptabase is a privacy-first analytics platform for Tauri apps. Get insights into your app's usage in minutes.

Learn more
Aptabase Dashboard Screenshot

Want to learn more?

Complete guide to logging with Tauri

Guide··TauriLogging

Complete guide to logging with Tauri

Logging is such an important part of any application. This post will show you how to use the official Tauri log plugin to log messages with loads of examples

Where would you prefer to host your data?

European UnionGermanyUnited StatesVirginia

We typically advise selecting the region nearest to the majority of your users' locations. However, if your user base is global and dispersed, opt for the region that is geographically closest to your own location.