Add base_dir in logrotate template method

Change-Id: Idbbf156846a97f10e21d56142dda1f3ddf7e6cad