On Tue, Mar 9, 2010 at 1:01 PM, Pravesh Rai <pravesh.rai@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > > 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx