On 6/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> currently my django logfile looks like:
> [06/Jun/2006 05:48:36] "GET /1/Image/17 HTTP/1.1" 301 0
> [06/Jun/2006 05:48:36] "GET /1/Image/17/ HTTP/1.1" 200 10026
> [06/Jun/2006 05:48:36] "GET /css/base.css HTTP/1.1" 304 0
> [06/Jun/2006 05:48:36] "GET /images/20050828174505_1_1_1.jpg HTTP/1.1"
> 200 42066
> [06/Jun/2006 05:48:42] "GET /1/Album/1 HTTP/1.1" 301 0
> [06/Jun/2006 05:48:42] "GET /1/Album/1/ HTTP/1.1" 200 65585
> [06/Jun/2006 05:48:42] "GET /css/base.css HTTP/1.1" 304 0
>
> But there is not enough data for a good logfile analyze like REFERER or
> REMOTE_IP.
> Is there a way to configure this ?

Hey Kim,

Are you using Apache? If so, this is something you configure in
Apache's httpd.conf configuration file, not in Django. See the Apache
LogFormat directive:

    http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#logformat

Adrian

-- 
Adrian Holovaty
holovaty.com | djangoproject.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to