禁用阿帕奇记录到的access.log [英] disabling apache logging to access.log

查看:250
本文介绍了禁用阿帕奇记录到的access.log的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在阅读有关禁用Apache服务器,因为我上运行测试,庞大这是对我来说至关重要的记录和它填补了磁盘。

I've been reading about disabling the logging of the apache server, which is crucial for me as I'm running huge tests on it, and it fills the disk.

我试着改变的http.conf和指导的东西到/ dev / null的,但没有它的工作,因为大部分是错误日志。

I've tried changing http.conf and directing stuff to /dev/null, but none of it worked, as most of it was the Error logging.

任何想法,任何人吗?

感谢

推荐答案

为了禁用和关闭的Apache日志,只是注释掉Apache的配置文件中的日志行。阅读更多<一个href=\"http://www.mydigitallife.info/how-to-disable-and-turn-off-apache-httpd-access-and-error-log/\">here.

In order to disable and turn off the Apache logging, just comment out the log lines in the Apache configuration file. Read more here.

这篇关于禁用阿帕奇记录到的access.log的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆