# Logging Log files are stored in the [application folder](/docs/help/application-folder.md). The latest log file is named `ludusavi_rCURRENT.log`, and any other log files will be named with a timestamp (e.g., `ludusavi_r2000-01-02_03-04-05.log`). By default, only warnings and errors are logged, but you can customize this by setting the `RUST_LOG` environment variable (e.g., `RUST_LOG=ludusavi=debug`). The most recent 5 log files are kept, rotating on app launch or when a log reaches 10 MiB. The CLI also supports a global `--debug` option, which sets the maximum log level and opens the log folder after running. In this case, a separate `ludusavi_debug.log` file will be created, without any rotation or maximum size. Be mindful that the file size may increase rapidly during a full scan.