Re: apache hostnamelookups sanity-check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 03 May 2011 17:21:25 -0400
seth vidal <skvidal@xxxxxxxxxxxxxxxxx> wrote:

> Hey folks,
>  looking at the logs for something today I noticed that our logs are
> showing hostnames, not ip addresses of the remote hosts. Which is
> somewhat wasteful since - for the local logs we don't need that extra
> resolver lookup - and it makes grepping complicated b/c you never know
> what the dns reverse map is going to look like :(
> 
> so I was thinking of changing the combined, error and common log
> format for apache in our configs from using %h (remotehost) to using
> %a (remote ip) [1]
> 
> Whle we have hostnamelookups off in all of our configs it appears that
> using %h overrides (or ignores) that.
> 
> so - is there anything I'm not thinking about or forgetting that
> changing the log format from %h to %a will result in?

Not that I can think of or see off hand. 

awstats runs on the logs (or a subset of them), but it should do it's
own lookups. 

kevin

Attachment: signature.asc
Description: PGP signature

_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux