Anonimization in CVS version

Joost van Baal joostvb at logreport.org
Wed Mar 28 11:03:39 CEST 2001


On Sun, Mar 25, 2001 at 11:48:24AM +0200, Egon Willighagen wrote:
> 
> If you anonimize and generate XML output, deanonimize and
> then convert it to DocBook or ASCII, it's ok.
> 
> If you, however, generate ASCII output and then deanonimize
> the layout is screwed up... And the responders return ASCII
> format currently...
> 
> Option 1: have responders return XML
> Option 2: patch lr_deanonimize so that it detects the layout and
>               and tries to save it...

hibou at gelfand /tmp$ lr_anonimize anon < \
  /var/log/apache/mdcc.cx/combined.log.0 > combined.anon.log

hibou at gelfand /tmp$ lr_run lr_log2report -x /tmp/err www apache \
 combined < combined.anon.log > report.anon.raw

hibou at gelfand /tmp$ lr_deanonimize anon < report.anon.raw > report.raw

hibou at gelfand /tmp$ lr_xml2ascii < report.raw > report

Works for me.

If people sent anonimized logs to a responder, they're supposed
to start the subject of their email message with the string "anon".
This (should) lead to lr_log2report being called with a -x flag.
See http://logreport.org/online_responder.phtml , and the 
README.lire-client.

So Option 1 is in effect now.

I'll update README.lire-client now.

-- 
Joost


-- 
To UNSUBSCRIBE, email to development-request at logreport.org with a subject of 
"unsubscribe". Trouble? Send an email with subject "help" to 
development-request at logreport.org



More information about the Development mailing list