Re: User name in access_log

On Tue, Mar 9, 2010 at 1:01 PM, Pravesh Rai <pravesh.rai [at] gmail.com> wrote:
> Hi All,
>
> Is there any way to get logged-in user name in access_log ? Contents
> of access_log, in our setup looks like:
>
> 127.0.0.1 - - [17/Feb/2010:13:07:40 +0530] "GET / HTTP/1.1" 302 236
>
> If I'm not wrong, either of "-" in the log file is representing user
> name field, right ?
>
> Thanks,
> Pravesh
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project=
..
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
> =A0 " =A0 from the digest: users-digest-unsubscribe [at] httpd.apache.org
> For additional commands, e-mail: users-help [at] httpd.apache.org
>
>

I don't remember exactly, but I think it does log the username if HTTP
Auth is enabled. Check docs.

--
Nilesh Govindarajan
Site & Server Administrator
www.itech7.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Nilesh Govindrajan [ Di, 09 März 2010 09:33 ] [ ID #2034421 ]
Webserver » gmane.comp.apache.user » Re: User name in access_log

Vorheriges Thema: how to set a connection timeout for the AJP ProxyPass ? [C1]
Nächstes Thema: User name in access_log