免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5185 | 回复: 5
打印 上一主题 下一主题

[ldap] 怎么关掉openldap的日志 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-07-17 15:30 |只看该作者 |倒序浏览
日志文件太大了,占地方,数据量又大,那位高手帮帮忙

论坛徽章:
0
2 [报告]
发表于 2008-07-17 16:45 |只看该作者
自己顶,大家来帮帮忙

论坛徽章:
0
3 [报告]
发表于 2008-07-18 08:18 |只看该作者
这个??


  1.      loglevel <integer>
  2.               Specify  the  level  at  which  debugging statements and operation statistics should be syslogged (currently
  3.               logged to the syslogd(8) LOG_LOCAL4 facility).  Log levels are additive, and available levels are:
  4.                       1      trace function calls
  5.                       2      debug packet handling
  6.                       4      heavy trace debugging
  7.                       8      connection management
  8.                       16     print out packets sent and received
  9.                       32     search filter processing
  10.                       64     configuration file processing
  11.                       128    access control list processing
  12.                       256    stats log connections/operations/results
  13.                       512    stats log entries sent
  14.                       1024   print communication with shell backends
  15.                       2048   entry parsing
复制代码

论坛徽章:
0
4 [报告]
发表于 2008-07-18 08:42 |只看该作者

回复 #3 ncowboy 的帖子

谢谢,这些方法都试过了,日志文件还是不断产生,我的硬盘不够大啊

论坛徽章:
0
5 [报告]
发表于 2008-07-18 09:05 |只看该作者
把LOG那行注释掉~

/etc/syslog.conf

也要改~改完需要重启服务~

[ 本帖最后由 gavinzhm 于 2008-7-18 09:12 编辑 ]

论坛徽章:
0
6 [报告]
发表于 2010-02-09 16:00 |只看该作者
一起关注
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP