Send logs to Syslog server

To send logs to a Syslog server, the configuration file must be edited.

proVconnect Management Server

Firstly, locate the "log4net" section in the "web.config" file. 

Then, add the following appender reference into the root element in the log4net section:

<appender-ref ref="RemoteSyslogAppender" />

To finish, add the related appender next to the last one in the log4net section.

<appender name="RemoteSyslogAppender" type="log4net.Appender.RemoteSyslogAppender">
	<identity value="%property{log4net:HostName} proVconnect"/>
	<param name="RemoteAddress" value=""/> <!--Set the Syslog server address -->
	<param name="RemotePort" value=""/> <!--Set the Syslog server port -->
	<layout type="log4net.Layout.PatternLayout, log4net">
		<param name="ConversionPattern" value="%date %property{log4net:HostName} %level [%t] %message%newline"/>
	<threshold value=""/> <!--Set the log level DEBUG/INFO/WARN/ERROR -->
	<filter type="log4net.Filter.LoggerMatchFilter">
		<loggerToMatch value="NHibernate"/>
		<acceptOnMatch value="false"/>