I'd like to disable IP address logging

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • djn
    Senior Member
    • Mar 2004
    • 140

    I'd like to disable IP address logging

    Can this be done at all? Due to the privacy law of the country where most of my customers are based (IP addresses in the server logs are treated as 'identifiable personal data') a website owner is supposed to publish a formal binding statement on what are they gonna do with those data (even if the answer is 'nothing'), who's in charge of taking care of them, the name of every person or entity that might access them (I suppose this includes Dathorn) and a lot of other nonsense. Taking out IP addresses from the logs would save me a lot of copy-pasting, writing and translating...

    First thing I tried was:
    Code:
    CustomLog /var/log/httpd/my_access_log combined env=DISABLED
    taken from here, but it didn't work - I guess this is strictly for Apache.

    Next I tried
    Code:
    accesslog.filename = "/dev/null"
    accesslog.format = "%f %V %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
    taken from here - and still no joy.

    Any idea how could I avoid wasting the rest of the week on this buffonery?
  • AndrewT
    Administrator
    • Mar 2004
    • 3653

    #2
    Sorry, that is not something that can be disabled.

    Comment

    Working...