﻿<?xml version="1.0" encoding="utf-8" ?>
<LoggerAdapter>

  <AdapterConfiguration>
	<!-- Supported values for Mode setting are Default & CQLog -->
    <Mode>CQLog</Mode>
  </AdapterConfiguration>

  <CQLog>
    
	<!-- Upper limit of the number of messages that can be pushed to the CQ after which the CQ contents are binary serialized to disk. The value should be between 100 & 10000. Default is 10000 -->
	<ActiveQueueMessageCountLimit>500</ActiveQueueMessageCountLimit>
	
	<!-- The directory path where the CQ  contents are binary serialized and stored till background worker processes them. Supported values are [USERSTEMPFOLDER] or a valid fully qualified directory path. -->	
	<SerializedQueueStorage>D:\1FinIQ_Logs\LogAdapter\ServiceTemp\</SerializedQueueStorage>
    
	<!-- The time interval in milli seconds after which the CQ contents are flushed to a binary serialized file. The value should be between 3000 & 60000. Default is 60000 -->	
	<AutoFlushInterval>6000</AutoFlushInterval>

    <!-- The maximum number of records that are allowed to be binary serialized to a single file. -->
    <MaximumMessagesSerializedToSingleFile>100</MaximumMessagesSerializedToSingleFile>
	
	<!-- The log path used by the log adapter to write own logs. -->
    <AdapterLogPath>D:\1FinIQ_Logs\LogAdapter\Service\</AdapterLogPath>
	
	<!-- The maximum adapter errors that will be logged for a day at the location configured by the setting [AdapterLogPath].
	The value should be between 32 and 256. Default value is 128 --> 
	<MaximumLimitOfAdapterErrorsPerDay>128</MaximumLimitOfAdapterErrorsPerDay>
	
  </CQLog>

  <Default>
    <!--Nothing-->
  </Default>

</LoggerAdapter>