容器技术交流

 找回密码
 立即注册
查看: 3304|回复: 3

我装了cronolog来切分apache日志..如何配置

[复制链接]
发表于 2009-7-1 14:07:35 | 显示全部楼层 |阅读模式
我再Apache扩展设置里面填上:


  1. ErrorLog "|/usr/local/sbin/cronolog /home/ftp/网站名称/log/%Y/%m/%d_error_log.log"
  2. CustomLog "|/usr/local/sbin/cronolog /home/ftp/网站名称/log/%Y/%m/%d_access_log.log" combined
复制代码


结果在vhost.conf中总是自动添加了
ErrorLog /var/log/apache_log_网站名称

结果就出现了两个 ErrorLog ,请问我怎么屏蔽掉自动添加的这个ErrorLog 命令...
 楼主| 发表于 2009-7-1 14:25:06 | 显示全部楼层
建议老大不要zend 管理程序中的php文件,这样我可以根据需要修改。。就好了。。
发表于 2009-7-1 15:00:29 | 显示全部楼层
 楼主| 发表于 2009-7-1 21:08:19 | 显示全部楼层
老大,能给我一份没有加密的php吗
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|URLOS ( 粤ICP备18087780号 )

GMT+8, 2025-5-7 18:42 , Processed in 0.027586 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表