> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.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).

# 查看 ggRock 服务器日志

本文介绍了使用 journalctl 查看 ggRock 服务器应用程序日志所需的步骤。

退出

语言：

### **查看 ggRock 服务器日志**

1. 通过直接连接服务器、SSH 或通过 Debian 控制面板访问服务器控制台。

![](https://storage.crisp.chat/users/helpdesk/website/-/a/f/d/6/afd6941e8bc7d800/undefined-mar-30-2025-11-57-22_execos.png)

2. 使用 root 用户或系统上的其他管理员用户登录。

![](https://storage.crisp.chat/users/helpdesk/website/-/a/f/d/6/afd6941e8bc7d800/undefined-mar-30-2025-11-57-22_19yavqt.png)

3. 使用以下命令查看 ggRock 服务的日志文件：

```
journalctl -u ggrock
```
![](https://storage.crisp.chat/users/helpdesk/website/-/a/f/d/6/afd6941e8bc7d800/undefined-mar-30-2025-11-57-22_lwel0j.png)

或者，您可以使用

```
journalctl -u ggrock -f
```

命令显示跟踪最新事件的运行日志。

![](https://storage.crisp.chat/users/helpdesk/website/-/a/f/d/6/afd6941e8bc7d800/undefined-mar-30-2025-11-57-23_1d67nd0.png)
![](https://storage.crisp.chat/users/helpdesk/website/-/a/f/d/6/afd6941e8bc7d800/undefined-mar-30-2025-11-57-22_1jzapjh.png)
 
日志输出示例：