Tuxedo-userlog

来源:互联网 发布:red hat linux 6.8 编辑:程序博客网 时间:2024/06/05 05:20

userlog是tuxedo自带的写日志的函数

 

有次开发发现每次调用userlog写日志,服务都会挂掉

 

后来在官网查了一下发现如下说明:

userlog() hangs if the message sent to it is larger than BUFSIZ as defined in stdio.h

 

在stdio.h BUFSIZ定义为1024

原创粉丝点击