#!/bin/bash

sudo apt update -y
sudo apt-get install -y rsyslog
sudo sh -c 'echo "*.info;mail.none;authpriv.none;cron.none /var/log/messages" >> /etc/rsyslog.d/50-default.conf'
sudo service rsyslog restart 
