Skip to main content

Example: EventLogAppender

The following example shows how to use the EventLogAppender in the local log configuration file, LocalLogConfig.xml, for the Qlik Sense Proxy Service (QPS). In the example, all QPS audit log entries at warning level are sent to the Microsoft Windows event log.

<appender name="EventLogAppender" type="log4net.Appender.EventLogAppender" > <param name="threshold" value="warn" /> <param name="applicationName" value="Qlik Sense Proxy Service" /> <layout type="log4net.Layout.PatternLayout"> <param name="conversionPattern" value="%message" /> </layout> </appender> <logger name="Audit.Proxy"> <appender-ref ref="EventLogAppender" /> </logger>