$ModLoad imfile
$InputFileName /var/log/apache2/access.log
$InputFileTag apache:
$InputFileStateFile stat-apache-access
$InputFileSeverity info
$InputRunFileMonitor
$ModLoad imfile
$InputFileName /var/log/apache2/error.log
$InputFileTag apache-error:
$InputFileStateFile stat-apache-error
$InputFileSeverity debug
$InputFileFacility local7
$InputRunFileMonitor