Page 1 of 1

How to set the username in Apache's access logfile ?

PostPosted: 19. July 2009 17:44
by francoism
Hello,

I am using the Zend framework to build a website. The site uses a custom authentication process in order to log the users in (using Zend_Auth_Adapter_DbTable). Once a user is logged in, I would like to see his username output in Apache's access log. How can I do this ? Is there a way to set this username, once the PHP session is created and the user authenticated ?

Thanks a lot in advance for you help !

Francois