Setting the class of the graylog2 appender from DailyRollingFileAppender to RollingFileAppender
Adding rollingPolicy block with child elements for ActiveFileName to /var/log/graylog2-server.log and FileNamePattern to be /var/log/graylog2-server.${date +%F}.log.gz

Log file gets rotated daily and compressed to save disk space.