Home Forums OS X Server and Client Discussion Web How to stop logging localhost entries on 10.4 Server?

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #361609
    Craigster
    Participant

    I tried editing my virtual host.conf file that was in /etc/httpd/sites folder, by appending env=!dontlog to the end of the Custom Log line, but I guess I’m not putting it in right, or have the syntax incorrect.
    No matter what I tried it doesn’t seem to work right, or the !dontlog statement actually gets written into the access_log file.
    I already updated the .httpd.conf file to include SetEnvIf Remote_Addr “127\.0\.0\.1” dontlog

    Any suggestions on how I should format the Custom Log line, or is there an easier way to do this? I had it working once in 10.3 server and think it was all controlled in the httpd.conf file there, but I am at a new install of 10.4 and things are a little different.
    An example would be helpful.
    Thanks

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.

Comments are closed