<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Appender for log files in qlik sense in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Appender-for-log-files-in-qlik-sense/m-p/1021650#M4090</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bjorn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your reply, adding the logging for the log4net logging I was able to track down that the logging config setup in &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;LocalLogConf.xml was not being read as there were no entries in the debug log.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To fix this I added the following to the service config file and created the new file LocalLog.config to store the config for the log4net.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;configSections&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/configSections&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;appSettings&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="log4net.Config" value="LocalLog.config" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/appSettings&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logging still didn't work after doing this but it did register the appender in the log4net debug log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the end the final issue turned out to be this element in the LocalLog.config&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;logger name="AuditActivity.Scheduler"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;appender-ref ref="AdoNetAppender" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/logger&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which was changed as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;log4net&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;appender name="AdoNetAppender" type="log4net.Appender.AdoNetAppender"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/appender&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;root&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;appender-ref ref="AdoNetAppender" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/root&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/log4net&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The logging now works as expected and I'm storing this in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note another hint I've picked up from reading various pages is to change the buffer size to 1 from 100 so that entries are flushed as they occur.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Apr 2016 10:40:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-04-19T10:40:25Z</dc:date>
    <item>
      <title>Appender for log files in qlik sense</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Appender-for-log-files-in-qlik-sense/m-p/1021646#M4086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to configure the custom log appender within qlik sense following the directions specified here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/sense/2.1/Subsystems/PlanningQlikSenseDeployments/Content/Server/Server-Logging-Configuration-Customized-Logging.htm" title="http://help.qlik.com/en-US/sense/2.1/Subsystems/PlanningQlikSenseDeployments/Content/Server/Server-Logging-Configuration-Customized-Logging.htm"&gt;Local log configuration file ‒ Qlik Sense&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this help (unhelpful) file it says to add a new file called this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="path"&gt;&lt;SPAN class="Config Log PrimaryLocal file"&gt;LocalLogConfig.xml&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="path"&gt;&lt;SPAN class="Config Log PrimaryLocal file"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="path"&gt;&lt;SPAN class="Config Log PrimaryLocal file"&gt;into a directory (see below)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="path"&gt;&lt;SPAN class="Config Log PrimaryLocal file"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="path"&gt;&lt;SPAN class="Config Log PrimaryLocal file"&gt;To set up customized logging, create a local log configuration file named &lt;SPAN class="path"&gt;&lt;SPAN class="Config Log PrimaryLocal file"&gt;LocalLogConfig.xml&lt;/SPAN&gt;&lt;/SPAN&gt; in the &lt;SPAN class="path"&gt;&lt;SPAN class="ServerSpecificPath_ProgramData"&gt;%ProgramData%\Qlik\Sense&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="path"&gt;\&amp;lt;Service&amp;gt;\&lt;/SPAN&gt; folder.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="path"&gt;&lt;SPAN class="Config Log PrimaryLocal file"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="path"&gt;&lt;SPAN class="Config Log PrimaryLocal file"&gt;Does anyone know what the &amp;lt;Service&amp;gt; part is? Is this a new folder? I've gone into this directory but only see the following folders&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="path"&gt;&lt;SPAN class="Config Log PrimaryLocal file"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="path"&gt;&lt;SPAN class="Config Log PrimaryLocal file"&gt;Apps&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="path"&gt;&lt;SPAN class="Config Log PrimaryLocal file"&gt;Engine&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="path"&gt;&lt;SPAN class="Config Log PrimaryLocal file"&gt;Installation&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="path"&gt;&lt;SPAN class="Config Log PrimaryLocal file"&gt;Log&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="path"&gt;&lt;SPAN class="Config Log PrimaryLocal file"&gt;Proxy&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="path"&gt;&lt;SPAN class="Config Log PrimaryLocal file"&gt;Repository&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="path"&gt;&lt;SPAN class="Config Log PrimaryLocal file"&gt;Scheduler&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="path"&gt;&lt;SPAN class="Config Log PrimaryLocal file"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="path"&gt;&lt;SPAN class="Config Log PrimaryLocal file"&gt;Also where it says service does that mean you need a separate &lt;SPAN class="path"&gt;&lt;SPAN class="Config Log PrimaryLocal file"&gt;LocalLogConfig.xml&lt;/SPAN&gt;&lt;/SPAN&gt; per service?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="path"&gt;&lt;SPAN class="Config Log PrimaryLocal file"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="path"&gt;&lt;SPAN class="Config Log PrimaryLocal file"&gt;Thanks,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="path"&gt;&lt;SPAN class="Config Log PrimaryLocal file"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="path"&gt;&lt;SPAN class="Config Log PrimaryLocal file"&gt;Lee&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="path"&gt;&lt;SPAN class="Config Log PrimaryLocal file"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="path"&gt;&lt;SPAN class="Config Log PrimaryLocal file"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 03:55:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Appender-for-log-files-in-qlik-sense/m-p/1021646#M4086</guid>
      <dc:creator />
      <dc:date>2016-03-31T03:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Appender for log files in qlik sense</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Appender-for-log-files-in-qlik-sense/m-p/1021647#M4087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lee,&lt;/P&gt;&lt;P&gt;That's correct, you need to create the LocalLogConfig.xml file in the folder(s) for each of the service(s) you want to configure to use an appender. &lt;/P&gt;&lt;P&gt;So for example, if you want to use an SMTPAppender to send an email whenever a task is failing, you need to create the LocalLogConfig.xml file in %ProgramData%\Qlik\Sense\Scheduler as it is the Scheduler service you want to monitor for any errors on failing tasks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope the above clarifies it a bit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Bjorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 09:12:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Appender-for-log-files-in-qlik-sense/m-p/1021647#M4087</guid>
      <dc:creator>Bjorn_Wedbratt</dc:creator>
      <dc:date>2016-04-01T09:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Appender for log files in qlik sense</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Appender-for-log-files-in-qlik-sense/m-p/1021648#M4088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bjorn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thanks for your reply. I am still a bit confused as to where to add the LocalLogConfig.xml should this be &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;%ProgramData%\Qlik\Sense\Sense\&lt;STRONG&gt;Log&lt;/STRONG&gt;\Scheduler\&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;%ProgramData%\Qlik\Sense\Sense\Scheduler\&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried both but they don't seem to work.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I am trying to configure a AdoNetAppender appender to write anything from the scheduler directly to a db table so have been using the below definition for the &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;LocalLogConfig.xml. Not sure if this is correct or if I should be using this element at all? &lt;/SPAN&gt;&amp;lt;logger name="Audit.Proxy"&amp;gt;&amp;lt;appender-ref ref="AdoNetAppender" /&amp;gt;&amp;lt;/logger&amp;gt;&lt;SPAN style="font-size: 13.3333px; line-height: 20px;"&gt;. If you have any ideas that would be great.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;configuration&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;appender name="AdoNetAppender" type="log4net.Appender.AdoNetAppender"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;bufferSize value="100" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;connectionType value="System.Data.SqlClient.SqlConnection, System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;connectionString value="data source=[the database server];initial catalog=[the database];integrated security=true" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;commandText value="INSERT INTO qliksense.Log ([Date],[Thread],[Level],[Logger],[Message],[Exception]) VALUES (@log_date, @thread, @log_level, @logger, @message, @exception)" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;parameter&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;parameterName value="@log_date" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dbType value="DateTime" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;layout type="log4net.Layout.RawTimeStampLayout" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/parameter&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;parameter&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;parameterName value="@thread" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dbType value="String" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;size value="255" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;layout type="log4net.Layout.PatternLayout"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;conversionPattern value="%thread" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/layout&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/parameter&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;parameter&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;parameterName value="@log_level" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dbType value="String" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;size value="50" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;layout type="log4net.Layout.PatternLayout"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;conversionPattern value="%level" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/layout&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/parameter&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;parameter&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;parameterName value="@logger" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dbType value="String" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;size value="255" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;layout type="log4net.Layout.PatternLayout"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;conversionPattern value="%logger" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/layout&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/parameter&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;parameter&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;parameterName value="@message" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dbType value="String" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;size value="4000" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;layout type="log4net.Layout.PatternLayout"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;conversionPattern value="%message" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/layout&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/parameter&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;parameter&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;parameterName value="@exception" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dbType value="String" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;size value="2000" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;layout type="log4net.Layout.ExceptionLayout" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/parameter&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/appender&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;lt;logger name="Audit.Proxy"&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;appender-ref ref="AdoNetAppender" /&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;lt;/logger&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/configuration&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 09:57:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Appender-for-log-files-in-qlik-sense/m-p/1021648#M4088</guid>
      <dc:creator />
      <dc:date>2016-04-04T09:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Appender for log files in qlik sense</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Appender-for-log-files-in-qlik-sense/m-p/1021649#M4089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lee,&lt;/P&gt;&lt;P&gt;The LocalLogConfig.xml should go into &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;%ProgramData%\Qlik\Sense\Sense\Scheduler\&lt;/STRONG&gt; and not into the \log folder, to answer your first question.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I haven't played around with the ADO.NET Appender so I cannot say how to configure the specifics for that appender (seems like what you have is accurate according to log4net documentation though).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;What you could do is to try finding out the root cause for it failing, by debugging log4net (basically activate logging for the logger). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;This can be done by adding the following into the .exe.config file for the service, in your case the file will be:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;%ProgramFiles%\Qlik\Sense\Scheduler\Scheduler.exe.config&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;&amp;lt;?&lt;/CODE&gt;&lt;CODE class="xml keyword" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: bold !important; color: #336699 !important; background: 0 50%;"&gt;xml&lt;/CODE&gt; &lt;CODE class="color1 xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #808080 !important; background: 0 50%;"&gt;version&lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;=&lt;/CODE&gt;&lt;CODE class="xml string" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #003366 !important; background: 0 50%;"&gt;"1.0"&lt;/CODE&gt; &lt;CODE class="color1 xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #808080 !important; background: 0 50%;"&gt;encoding&lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;=&lt;/CODE&gt;&lt;CODE class="xml string" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #003366 !important; background: 0 50%;"&gt;"utf-8"&lt;/CODE&gt; &lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;?&amp;gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P class="line number2 alt1 index1" style="padding: 0 1em 0 0; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; color: #333333; background: 0 50% #ffffff;"&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;&amp;lt;&lt;/CODE&gt;&lt;CODE class="xml keyword" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: bold !important; color: #336699 !important; background: 0 50%;"&gt;configuration&lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;&amp;gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P class="line number3 index2 alt2" style="padding: 0 1em 0 0; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; color: #333333; background: 0 50% #ffffff;"&gt;&lt;CODE class="spaces xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; background: 0 50%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;&amp;lt;&lt;/CODE&gt;&lt;CODE class="xml keyword" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: bold !important; color: #336699 !important; background: 0 50%;"&gt;appSettings&lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;&amp;gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P class="number4 line index3 alt1" style="padding: 0 1em 0 0; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; color: #333333; background: 0 50% #ffffff;"&gt;&lt;CODE class="spaces xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; background: 0 50%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;&amp;lt;&lt;/CODE&gt;&lt;CODE class="xml keyword" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: bold !important; color: #336699 !important; background: 0 50%;"&gt;add&lt;/CODE&gt; &lt;CODE class="color1 xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #808080 !important; background: 0 50%;"&gt;key&lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;=&lt;/CODE&gt;&lt;CODE class="xml string" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #003366 !important; background: 0 50%;"&gt;"log4net.Internal.Debug"&lt;/CODE&gt; &lt;CODE class="color1 xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #808080 !important; background: 0 50%;"&gt;value&lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;=&lt;/CODE&gt;&lt;CODE class="xml string" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #003366 !important; background: 0 50%;"&gt;"true"&lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;/&amp;gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P class="index4 line alt2 number5" style="padding: 0 1em 0 0; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; color: #333333; background: 0 50% #ffffff;"&gt;&lt;CODE class="spaces xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; background: 0 50%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;&amp;lt;/&lt;/CODE&gt;&lt;CODE class="xml keyword" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: bold !important; color: #336699 !important; background: 0 50%;"&gt;appSettings&lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;&amp;gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P class="line index5 alt1 number6" style="padding: 0 1em 0 0; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; color: #333333; background: 0 50% #ffffff;"&gt;&lt;CODE class="spaces xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; background: 0 50%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;&amp;lt;&lt;/CODE&gt;&lt;CODE class="xml keyword" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: bold !important; color: #336699 !important; background: 0 50%;"&gt;system.diagnostics&lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;&amp;gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P class="line number7 alt2 index6" style="padding: 0 1em 0 0; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; color: #333333; background: 0 50% #ffffff;"&gt;&lt;CODE class="spaces xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; background: 0 50%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;&amp;lt;&lt;/CODE&gt;&lt;CODE class="xml keyword" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: bold !important; color: #336699 !important; background: 0 50%;"&gt;trace&lt;/CODE&gt; &lt;CODE class="color1 xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #808080 !important; background: 0 50%;"&gt;autoflush&lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;=&lt;/CODE&gt;&lt;CODE class="xml string" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #003366 !important; background: 0 50%;"&gt;"true"&lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;&amp;gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P class="line number8 alt1 index7" style="padding: 0 1em 0 0; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; color: #333333; background: 0 50% #ffffff;"&gt;&lt;CODE class="spaces xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; background: 0 50%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;&amp;lt;&lt;/CODE&gt;&lt;CODE class="xml keyword" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: bold !important; color: #336699 !important; background: 0 50%;"&gt;listeners&lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;&amp;gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P class="line number9 index8 alt2" style="padding: 0 1em 0 0; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; color: #333333; background: 0 50% #ffffff;"&gt;&lt;CODE class="spaces xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; background: 0 50%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;&amp;lt;&lt;/CODE&gt;&lt;CODE class="xml keyword" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: bold !important; color: #336699 !important; background: 0 50%;"&gt;add&lt;/CODE&gt;&lt;/P&gt;&lt;P class="line alt1 index9 number10" style="padding: 0 1em 0 0; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; color: #333333; background: 0 50% #ffffff;"&gt;&lt;CODE class="spaces xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; background: 0 50%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/CODE&gt;&lt;CODE class="color1 xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #808080 !important; background: 0 50%;"&gt;name&lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;=&lt;/CODE&gt;&lt;CODE class="xml string" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #003366 !important; background: 0 50%;"&gt;"textWriterTraceListener"&lt;/CODE&gt;&lt;/P&gt;&lt;P class="index10 line alt2 number11" style="padding: 0 1em 0 0; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; color: #333333; background: 0 50% #ffffff;"&gt;&lt;CODE class="spaces xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; background: 0 50%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/CODE&gt;&lt;CODE class="color1 xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #808080 !important; background: 0 50%;"&gt;type&lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;=&lt;/CODE&gt;&lt;CODE class="xml string" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #003366 !important; background: 0 50%;"&gt;"System.Diagnostics.TextWriterTraceListener"&lt;/CODE&gt;&lt;/P&gt;&lt;P class="line index11 alt1 number12" style="padding: 0 1em 0 0; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; color: #333333; background: 0 50% #ffffff;"&gt;&lt;CODE class="spaces xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; background: 0 50%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/CODE&gt;&lt;CODE class="color1 xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #808080 !important; background: 0 50%;"&gt;initializeData&lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;=&lt;/CODE&gt;&lt;CODE class="xml string" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #003366 !important; background: 0 50%;"&gt;"C:\files\log4net.txt"&lt;/CODE&gt; &lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;/&amp;gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P class="line index12 number13 alt2" style="padding: 0 1em 0 0; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; color: #333333; background: 0 50% #ffffff;"&gt;&lt;CODE class="spaces xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; background: 0 50%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;&amp;lt;/&lt;/CODE&gt;&lt;CODE class="xml keyword" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: bold !important; color: #336699 !important; background: 0 50%;"&gt;listeners&lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;&amp;gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P class="line number14 alt1 index13" style="padding: 0 1em 0 0; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; color: #333333; background: 0 50% #ffffff;"&gt;&lt;CODE class="spaces xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; background: 0 50%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;&amp;lt;/&lt;/CODE&gt;&lt;CODE class="xml keyword" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: bold !important; color: #336699 !important; background: 0 50%;"&gt;trace&lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;&amp;gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P class="line number15 index14 alt2" style="padding: 0 1em 0 0; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; color: #333333; background: 0 50% #ffffff;"&gt;&lt;CODE class="spaces xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; background: 0 50%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;&amp;lt;/&lt;/CODE&gt;&lt;CODE class="xml keyword" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: bold !important; color: #336699 !important; background: 0 50%;"&gt;system.diagnostics&lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;&amp;gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P class="line number16 alt1 index15" style="padding: 0 1em 0 0; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; color: #333333; background: 0 50% #ffffff;"&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;&amp;lt;/&lt;/CODE&gt;&lt;CODE class="xml keyword" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: bold !important; color: #336699 !important; background: 0 50%;"&gt;configuration&lt;/CODE&gt;&lt;CODE class="plain xml" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: #000000 !important; background: 0 50%;"&gt;&amp;gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;So in &lt;STRONG&gt;&amp;lt;appSettings&amp;gt;&lt;/STRONG&gt; tag you add a key to enable log4net debugging and in &lt;STRONG&gt;&amp;lt;system.diagnostics&amp;gt;&lt;/STRONG&gt; (you need to add this section) you add a textwriter to flush out the debugging information into a file (above file will be generated in C:\files which must exist)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Make sure not to delete or alter any other sections&lt;/SPAN&gt; within the config file or the service may fail to start&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Investigating the log4net.txt log may give you hints on where it's failing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Just a hint. If I got time I will see if I can try it out using the ADO.NET Appender as well, but cannot promise anything in the near future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Bjorn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 08:23:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Appender-for-log-files-in-qlik-sense/m-p/1021649#M4089</guid>
      <dc:creator>Bjorn_Wedbratt</dc:creator>
      <dc:date>2016-04-14T08:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Appender for log files in qlik sense</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Appender-for-log-files-in-qlik-sense/m-p/1021650#M4090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bjorn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your reply, adding the logging for the log4net logging I was able to track down that the logging config setup in &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;LocalLogConf.xml was not being read as there were no entries in the debug log.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To fix this I added the following to the service config file and created the new file LocalLog.config to store the config for the log4net.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;configSections&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/configSections&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;appSettings&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="log4net.Config" value="LocalLog.config" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/appSettings&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logging still didn't work after doing this but it did register the appender in the log4net debug log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the end the final issue turned out to be this element in the LocalLog.config&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;logger name="AuditActivity.Scheduler"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;appender-ref ref="AdoNetAppender" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/logger&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which was changed as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;log4net&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;appender name="AdoNetAppender" type="log4net.Appender.AdoNetAppender"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/appender&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;root&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;appender-ref ref="AdoNetAppender" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/root&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/log4net&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The logging now works as expected and I'm storing this in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note another hint I've picked up from reading various pages is to change the buffer size to 1 from 100 so that entries are flushed as they occur.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 10:40:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Appender-for-log-files-in-qlik-sense/m-p/1021650#M4090</guid>
      <dc:creator />
      <dc:date>2016-04-19T10:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Appender for log files in qlik sense</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Appender-for-log-files-in-qlik-sense/m-p/1021651#M4091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I new in Qlik Sense, can someone tell me the different between &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;LocalLogConfig.xml&lt;/STRONG&gt; and &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Scheduler.exe.config ? &lt;/STRONG&gt;Are both of them are same?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 04:23:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Appender-for-log-files-in-qlik-sense/m-p/1021651#M4091</guid>
      <dc:creator>adambrian</dc:creator>
      <dc:date>2016-08-01T04:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Appender for log files in qlik sense</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Appender-for-log-files-in-qlik-sense/m-p/1021652#M4092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I understand it the &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Scheduler.exe.config &lt;/STRONG&gt;is the configuration for the scheduler service. The &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LocalLogConfig.xml&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; is the configuration for the log4net appender.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2016 10:36:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Appender-for-log-files-in-qlik-sense/m-p/1021652#M4092</guid>
      <dc:creator />
      <dc:date>2016-08-02T10:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Appender for log files in qlik sense</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Appender-for-log-files-in-qlik-sense/m-p/1021653#M4093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Hi Lee,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Thank you for your info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2016 06:23:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Appender-for-log-files-in-qlik-sense/m-p/1021653#M4093</guid>
      <dc:creator>adambrian</dc:creator>
      <dc:date>2016-08-03T06:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Appender for log files in qlik sense</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Appender-for-log-files-in-qlik-sense/m-p/1811117#M15003</link>
      <description>&lt;P&gt;I have followed all of the steps provided with the LocalXMLconf file with my stmp server, but I still don't get an e-mail notification when task failed.&amp;nbsp; I have placed this file in the C:\ProgramData\Qlik\Sense\Scheduler.&amp;nbsp; Please let me know if I need to change or alter the schedule.exe.config file.&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 15:38:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Appender-for-log-files-in-qlik-sense/m-p/1811117#M15003</guid>
      <dc:creator>wallace0834</dc:creator>
      <dc:date>2021-05-27T15:38:47Z</dc:date>
    </item>
  </channel>
</rss>

