你把apache2+tomcat5.5进行整合,那么你的apache就不用记录日志了,由tomcat记录日志就可以了!

解决方案 »

  1.   

    apache只负责记录一些非常严重的问题,把LogLevel设置成alert或者emerg。
      

  2.   

    在httpd.conf中找到
    #
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    # container, error messages relating to that virtual host will be
    # logged here.  If you *do* define an error logfile for a <VirtualHost>
    # container, that host's errors will be logged there and not here.
    #
    ErrorLog logs/error.log把ErrorLog logs/error.log注释掉就可以了,也就是在前面加个“#”
      

  3.   

    我加了那个..不过他还是不行...............一样出来error.log的文件