tar command in for loop

I know it is the basic question but please do help me. I compressed and archived my server log file using tar command for i in server.log.2016-07-05 server.log.2016-07-06 ; do tar -zcvf server2.tar….