From: Eric Wong <e@80x24.org>
To: Hleb Valoshka <375gnu@gmail.com>
Cc: unicorn-public@bogomips.org
Subject: Re: ip addresses in log files
Date: Thu, 17 Mar 2016 16:33:38 +0000 [thread overview]
Message-ID: <20160317163338.GA14862@dcvr.yhbt.net> (raw)
In-Reply-To: <CAAB-KcmJWd1g6_G-JHyCA8uAnuNGA0QTsci2=bGOh0+2rjCmVw@mail.gmail.com>
Hleb Valoshka <375gnu@gmail.com> wrote:
> Hello all!
>
> Simple question I hope.
>
> What is the simplest way to change log file format, without monkey
> patching Rack::CommonLogger?
I use clogger (configurable logger) instead:
http://clogger.bogomips.org/
> I don't want to see all addresses from X-Forwarded-For.
There's also unxf for that: http://bogomips.org/unxf/
but I don't use it as often.
There are probably others which are better, too...
Disclaimer: I absolutely detest using one project (unicorn, in
this case) to promote my other projects, here; so I'll say both
clogger and unxf are buggy as hell and will eat all your data
for lunch :>
prev parent reply other threads:[~2016-03-17 16:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-17 14:46 ip addresses in log files Hleb Valoshka
2016-03-17 16:33 ` Eric Wong [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://yhbt.net/unicorn/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160317163338.GA14862@dcvr.yhbt.net \
--to=e@80x24.org \
--cc=375gnu@gmail.com \
--cc=unicorn-public@bogomips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhbt.net/unicorn.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).