-
Notifications
You must be signed in to change notification settings - Fork 147
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
日志生成格式 #2
Comments
1、从rlog.h的251行开始就是格式,您可以修改成您想要的;
2、是按照天生成日志,且一天中的日志按照1GB(LOG_USE_LIMIT)进行滚动,最新日志是.log,接下来是.log.1,.log.2,.log.3 都是1GB;
3、不含自动删除,因为你有可能要用到前一天的日志去定位程序问题,所以这里开放。
…________________________________
发件人: littlel <notifications@github.com>
发送时间: 2018年2月6日 16:08:44
收件人: LeechanX/Ring-Log
抄送: Subscribed
主题: [LeechanX/Ring-Log] 日志生成格式 (#2)
请问日志打印的格式可以自由调整吗?还有是按照天生成日志文件的吗?会自动清理日志吗?谢谢~
―
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#2>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AC9eMmr6HDX_YC7ylAYjrPT39DH4IFImks5tSAiMgaJpZM4R6pUM>.
|
请问一下 如果一次写入的日志比较大 cell_buffer 装不下 怎么办, 日志的大小 不确定 这种情况呢? 例如 一会1兆 一会100 兆 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
请问日志打印的格式可以自由调整吗?还有是按照天生成日志文件的吗?会自动清理日志吗?谢谢~
The text was updated successfully, but these errors were encountered: