* ip addresses in log files
@ 2016-03-17 14:46 Hleb Valoshka
2016-03-17 16:33 ` Eric Wong
0 siblings, 1 reply; 2+ messages in thread
From: Hleb Valoshka @ 2016-03-17 14:46 UTC (permalink / raw)
To: unicorn-public
Hello all!
Simple question I hope.
What is the simplest way to change log file format, without monkey
patching Rack::CommonLogger?
I don't want to see all addresses from X-Forwarded-For.
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ip addresses in log files
2016-03-17 14:46 ip addresses in log files Hleb Valoshka
@ 2016-03-17 16:33 ` Eric Wong
0 siblings, 0 replies; 2+ messages in thread
From: Eric Wong @ 2016-03-17 16:33 UTC (permalink / raw)
To: Hleb Valoshka; +Cc: unicorn-public
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 :>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-17 16:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-17 14:46 ip addresses in log files Hleb Valoshka
2016-03-17 16:33 ` Eric Wong
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).