1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-09-13 13:32:45 +00:00

Filter rpc slow log include password (#61)

* Filter rpc slow log include password

* Add filtered funcs list

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
This commit is contained in:
feiniks
2022-09-02 18:01:40 +08:00
committed by GitHub
parent 54145b03f4
commit 15f6f0b9f4
2 changed files with 26 additions and 5 deletions

View File

@@ -52,7 +52,8 @@ void searpc_server_init (RegisterMarshalFunc register_func);
LIBSEARPC_API int
searpc_server_init_with_slow_log (RegisterMarshalFunc register_func,
const char *slow_log_path,
gint64 slow_threshold_in);
gint64 slow_threshold_in,
GList *filtered_funcs_in);
/**
* Used in log rotate.