Apache log RT usernames

Is it possible to log RT usernames in the apache access log in RT4? It looks like it was relatively simple to add in RT3, but I’m having no luck setting this up in RT4. Tried setting %ENV vars, and passing $r->notes between apache and RT while using custom apache logformats but no luck. any help or pointing in the right direction would be appreciated. Seems it should be something relatively simple but not able to find much on the web about this.