Error Message rsyslog(rsyslogd-2036: error starting up disk queue, using pure in-memory mode [try http://www.rsyslog.com/e/2036])

rsyslogd-2036: error starting up disk queue  in rsyslog restart


 If upon restarting/reloading your rsyslog daemon on a remote host, you see the following in your logs:

rsyslogd-2036: error starting up disk queue, using pure in-memory mode [try http://www.rsyslog.com/e/2036 ]
Make sure you have a work directory set up in your rsyslog.conf and verify that it exists in your filesystem.
rsyslog.conf
# make sure WorkDirectory is specified above our $IncludeConfig line
# or the other configs will have issues when they specify a disk queue
$WorkDirectory /var/spool/rsyslog # where to place spool files
 
# Include configuration files from directory
$IncludeConfig /etc/rsyslog.d/*
Verify it exists with
sudo mkdir -p /var/spool/rsyslog

And don't forget to restart your rsyslog daemon again.
===========================
Reference:
http://wiki.chilblain.net/dokuwiki/doku.php/howto:reliable_remote_logging_with_relp