httpd.conf - stumped

Have been asked to remove all images from being logged to the access_log ... where am I going wrong?

<VirtualHost 123.456.789.99>
ServerName www.somedomain.com.au
DocumentRoot /agents/tts
Redirect /wap http://somewap.com.au/traveler
 
LogFormat "%v %h %l %u %t \"%r\" %>s %b" comonvhost
SetEnvIf Request_URI \.bmp image-request
SetEnvIf Request_URI \.gif image-request
SetEnvIf Request_URI \.jpg image-request
SetEnvIf Request_URI \.png image-request
# Log what remains to access_log
CustomLog logs/tts.somedomain.com.au-access_log comonvhost env=!image-request
 
ErrorLog logs/tts.somedomain.com.au-error_log
Transfer logs/tts.somedomain.com.au-access_log
ServerAlias www www.somedomain.com.au somedomain.com.au
</VirtualHost>

PS - Very new to this.

The only change I would make would be to put the filename strings inside double quotes:

SetEnvIf Request_URI "\.bmp" image-request

your syntax appears to be correct otherwise.

Thanks PxT - Will give that a go.