diff --git a/src/main/java/com/teragrep/aer_01/EventContextConsumer.java b/src/main/java/com/teragrep/aer_01/EventContextConsumer.java index 21d9ba7..5de5d51 100644 --- a/src/main/java/com/teragrep/aer_01/EventContextConsumer.java +++ b/src/main/java/com/teragrep/aer_01/EventContextConsumer.java @@ -50,7 +50,9 @@ import com.teragrep.aer_01.config.RelpConfig; import com.teragrep.aer_01.config.SyslogConfig; import com.teragrep.aer_01.config.source.Sourceable; +import com.teragrep.rlo_14.Facility; import com.teragrep.rlo_14.SDElement; +import com.teragrep.rlo_14.Severity; import com.teragrep.rlo_14.SyslogMessage; import java.net.InetAddress; @@ -122,6 +124,8 @@ public void accept(EventContext eventContext) { eventContext.getEventData().getProperties(); */ SyslogMessage syslogMessage = new SyslogMessage() + .withSeverity(Severity.INFORMATIONAL) + .withFacility(Facility.LOCAL0) .withTimestamp(eventContext.getEventData().getEnqueuedTime()) .withHostname(syslogConfig.hostname) .withAppName(syslogConfig.appName)