我该如何记录我的程序? [英] how can i log my program?
本文介绍了我该如何记录我的程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请帮助我!!
我想使用syslog()记录程序的一些数据.
但我不知道程序,
我用谷歌搜索,我知道我应该修改rsyslog.conf,但是我没有修改它的权限!
请帮忙!
please help me!!
i want to log some data of my program using syslog().
but i don''t know the procedure,
i googled and i understood i should modify rsyslog.conf but i dont have permission to modify it!!
please help!!
推荐答案
您应该可以使用 syslog(3) [ ^ ]调用而无需需要更改任何系统配置.
You should be able to use the syslog(3)[^] calls without the need to change any system configuration.
这篇关于我该如何记录我的程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文