> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://helpdesk.ggcircuit.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 📝 启用 Debian 持久日志

默认情况下，**ggRock** **不会**配置您的 Debian 服务器来在重启之间保持日志。这意味着重要日志可能在重启后丢失——这会使故障排除变得更加困难。

让我们解决这个问题！✅

---

### 🔧 设置持久日志

为了确保您的日志在重启和关闭时得以保留，请在终端中运行以下命令：

```
sed -i 's/#Storage.*/Storage=persistent/' /etc/systemd/journald.conf
systemctl restart systemd-journald.service
```
> 🖥️ **提示：** 您也可以使用 **Debian 控制面板** 来应用这些更改，如果您已经登录那里，通常会更方便。

---

启用持久日志后，您的系统将在重启后保留宝贵的信息——帮助您和 ggCircuit 支持人员更有效地追踪任何问题。👍

需要帮助验证您的日志或之后找到它们吗？请告诉我们！