gzip -S ".[NUMBER].gz" *.log
E.g.
gzip -S ".3.gz" *.log
The -S is to set your own suffix on the filename.