Pack and delete only specified log files by template with tar seq and printf

Pack only 01-09:
for line in $(printf "server-2018-08-0%s.log\n" $(seq 1 9)); \
do tar cvjf ${line}.bz2 ${line} --remove-files; done