Skip to content
New issue

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

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

Already on GitHub? # to your account

如下代码中,日志写到一定大小就无法继续写了,使用文件转档功能也不行 #225

Open
KeJiAndHu opened this issue Oct 27, 2022 · 0 comments

Comments

@KeJiAndHu
Copy link

#include <stdio.h>
#include "zlog.h"

int main(int argc, char** argv)
{
int rc;
rc = dzlog_init("/etc/zlog.conf", "test");
if (rc) {
return 0;
}

long j = 328264;
while(j-- > 0) {
	dzlog_info("此处字符串是一个250k的字符串");
}

zlog_fini();

return 0;

}

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant