Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logrotate links #1531

Merged
merged 1 commit into from
Mar 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs-2.0/20.appendix/0.FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ Nebula Graph 的日志默认在 `/usr/local/nebula/logs/` 下,正常 INFO 级
Nebula Graph 使用 [glog](https://github.com/google/glog) 打印日志。glog 没有日志回收的功能,用户可以:

- 使用 crontab 设置定期任务回收日志文件,详情请参见 [Glog should delete old log files automatically](https://github.com/google/glog/issues/423)。
- 使用 [logrotate](https://github.com/logrotate/logrotate) 实现日志轮询。使用 logrotate 管理日志前需修改相应 Nebula Graph 服务的配置,将`timestamp_in_logfile_name`参数的值改成`false`。
- 使用 [logrotate](https://github.com/logrotate/logrotate) 实现[日志轮询](https://discuss.nebula-graph.com.cn/t/topic/7803)。使用 logrotate 管理日志前需修改相应 Nebula Graph 服务的配置,将`timestamp_in_logfile_name`参数的值改成`false`。

### 如何查看 Nebula Graph 版本

Expand Down
2 changes: 2 additions & 0 deletions docs-2.0/8.service-tuning/practice.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@ Nebula Graph 在各行各业都有应用,本文介绍部分实践案例。更
- [基于 Nebula Graph 的 Betweenness Centrality 算法](https://nebula-graph.com.cn/posts/introduction-to-betweenness-centrality-algorithm/)

- [无依赖单机尝鲜 Nebula Exchange 的 SST 导入](https://nebula-graph.com.cn/posts/import-sst-data-without-dependence/)

- [logrotate 在 Nebula Graph 的日志滚动实践](https://discuss.nebula-graph.com.cn/t/topic/7803)