You are here: Foswiki>Tasks Web>Item10637 (17 Dec 2011, GeorgeClark)Edit Attach

Item10637: Allow IP addresses to be supressed from logs

Priority: Enhancement
Current State: Closed
Released In: 1.1.4
Target Release: patch
Applies To: Engine
Component: FoswikiLogger
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
Implement SupportStrippingIPsFromLogfiles

-- GeorgeClark - 15 Apr 2011

CharlesAdicke: I can work on implementing this for 1.1.4 unless you are interested in committing your fixes. I'd like to make the config option {Log}{SuppressIP}, with default or missing as false, to minimize any impact on installed sites.

-- GeorgeClark - 15 Apr 2011

Yes George, please go ahead with your implementation. Thanks a lot for taking this over!

-- CharlesAdicke - 18 Apr 2011

this is a good (and sometimes necessary) feature, but i wish it would go through some sort of "plugin function"/api. that way, an anonymizer could be implemented, not simply a stripper.

-- WillNorris - 18 Apr 2011

Resetting the clock on the feature proposal, so this can be discussed a bit more.

-- GeorgeClark - 18 Apr 2011

Thats true too. Do you see the need for an API instead of an binary strip/no-strip option? Otherwise I would suggest first going with the option and if the need arises an API function for the logging could be implemented. No need to implement an API maybe nobody needs.

-- CharlesAdicke - 30 Apr 2011

Implementing this as a new logger type Foswiki::Loggger::PlainFile::Obfuscating. It can either mask the IP (x.x.x.x) or obfuscate it by replacing it with the first 4 bytes of the md5 hash of the original fileld. Will commit to 1.1.4 since the new logger type shouldn't cause any issues if not chosen, it's low risk.

-- GeorgeClark - 29 Sep 2011
Topic revision: r16 - 17 Dec 2011, GeorgeClark - This page was cached on 25 Feb 2018 - 17:12.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License