-
Notifications
You must be signed in to change notification settings - Fork 20
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
使用 python 接口测试 psi 的时候,如何设置打印文件日志。 #151
Comments
可以截图看一下具体是哪些日志吗 |
|
求交双方代码如下
|
好的,我看到所有debug 的日志都打印了。你把 |
|
刚才又确认了下,不好意思,c++生成的日志不受python影响。如果你的需求比较强烈的话,可以用 |
|
抱歉,目前不支持的哈 |
|
Hi @notinghere You should be able to redirect stdout to file |
Stale issue message. Please comment to remove stale tag. Otherwise this issue will be closed soon. |
Feature Request Type
Build/Install
Have you searched existing issues?
Yes
Is your feature request related to a problem?
测试用例 legacy_psi_test.py 中,如何添加文件日志。
添加以下代码:
`
def run_streaming_psi(self, wsize, self_rank, link_id, party_ids, addrs, inputs, outputs, selected_fields, protocol):
`
libpsi 中的日志并不会打印到日志文件中,会打印到console 中,如何设置可以让日志都打印到文件中。
Describe features you want to add to SPU
Describe features you want to add to SPU
The text was updated successfully, but these errors were encountered: