In the last couple of months there were many major changes to my application on the way to Python 3, like the update to Zope 4, the replacement of the no longer working user login with Products.PluggableAuthService and many more, and at one point my application stopped logging the user name in the Z2.log.
I always get the
Anonymous user, instead of the logged in user, e.g.
xxx.xxx.xxx.xxx - Anonymous [13/Jan/2020:10:54:20 +0200] "GET /bliss/BlissFramework/BlissFramework/bliss_news HTTP/1.0" 200 39908 "http://172.22.51.74:8080/bliss" "Lynx/2.8.9rel.1 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/1.0.2t"
( I used lynx to directly connect to Zope, so I could def. rule out Nginx/Ha -Proxy as a potential problem).
In my buildout.cfg access log is not configured explicitly, so I guess it uses the standard, ie. log to var/log/Z2-xxx.log
As a side, I use
Could you please advise me how to get back the logged in user name, which def. worked quite a while ago?