Re: User name in access_log

Re: User name in access_log

am 09.03.2010 09:33:31 von Nilesh Govindrajan

On Tue, Mar 9, 2010 at 1:01 PM, Pravesh Rai 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 for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> =A0 " =A0 from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

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

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

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org