/etc/logrotate.d/hoge
/var/log/hoge/hoge_error.log {
daily
rotate 30
dateext
missingok
notifempty
sharedscripts
delaycompress
postrotate
mv /var/log/hoge/hoge_error.log-`date '+%Y%m%d'` /var/log/hoge/hoge_error_`date -d '1 days ago' '+%y%m%d'`.log
endscript
}