Skip to content

Commit

Permalink
fix TuGraph-family#359: add configuration description for enabling th…
Browse files Browse the repository at this point in the history
…e "Audit Log" module (TuGraph-family#377)

fix_doc_log

Co-authored-by: lishaoheng.lsh <[email protected]>
  • Loading branch information
gtahoo and lishaoheng.lsh authored Jan 15, 2024
1 parent bf14747 commit 1583b06
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,6 @@ You can also refer to the log macro usage in test/test_lgraph_log.cpp.

## 3.Audit log

Audit logs record each request and response, as well as the user who sent the request and when the request received. Audit logging can only be turned on or off. The results can be queried using the TuGraph visualization tool and the REST API.
Audit logs record each request and response, as well as the user who sent the request and when the request received. Audit logging can only be turned on or off. The results can be queried using the TuGraph visualization tool and the REST API.

To enable the Audit Log, you need to set the `enable_audit_log` parameter to `true` in the configuration file. For the configuration file and parameter descriptions, see:[Tugraph Running/Service configuration](../2.running/2.tugraph-running.md/#4service-configuration)
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,6 @@ void LogExample() {

## 3.审计日志

审核日志记录每个请求和响应,以及发送请求的用户以及收到请求的时间。审核日志只能是打开或关闭状态。可以使用 TuGraph 可视化工具和 REST API 查询结果。
审核日志记录每个请求和响应,以及发送请求的用户以及收到请求的时间。审核日志只能是打开或关闭状态。可以使用 TuGraph 可视化工具和 REST API 查询结果。

开启审计日志需要在配置文件中将`enable_audit_log`参数设置为`true`。配置文件和配置参数说明详见:[数据库运行/服务配置](../2.running/2.tugraph-running.md/#4服务配置)

0 comments on commit 1583b06

Please sign in to comment.