Keeping access logs from certain directories

Hi all,

I was wondering if anyone knows how to keep your access log from logging traffic in certain directories. (I installed Gallery, and it’s filling my access log like crazy).

I remember seeing this somewhere before in the web panel or knowledge base, but I can’t find it anywhere.