log username in Apache access log

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
mrachilli
Posts: 3
Joined: 10 May 2022, 15:02

log username in Apache access log

Post by mrachilli »

Hello,
is there a simple way to add the username to the Apache access log. I have a rough idea how do achieve so in PHP but do not have sufficient knowledge of the best way to implement in in Mantis.

Thanks, Martin
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: log username in Apache access log

Post by atrol »

Might help some way, never tried myself: https://serverfault.com/questions/96200 ... om-php-fpm
Please use Search before posting and read the Manual
mrachilli
Posts: 3
Joined: 10 May 2022, 15:02

Re: log username in Apache access log

Post by mrachilli »

I had followed these instructions some time ago on another PHP project but it was a bit easier to fiure out where to insert the apache_note directive.
Could you please tell me in which file it is best to put it to provide Apache with the username?

Thanks.
Post Reply