SetEnvIf Request_URI problem

we recently migrated a high traffic site to litespeed, everything works except using a directive that was in use on apache in the old server.
The directive is as follows:

SetEnvIf Request_URI "^/waitingqueue\.html$" log me
CustomLog "|$/var/www/vhosts/" "%a" env=loggami

which is used to manage a user queue system that works in the apache configuration but ignored by litespeed.
can you help me understand how to enable it, being a beginner with litespeed it could be simple but I can't find a solution.
thank you
Last edited: