add logrotation script and setting command.