Refactored rsyslog module