<?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: Sense: 5Gig of logs in: ProgramData\Qlik\Sense\Log in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933183#M4617</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solved this problem with creating an app that runs once per day and clears out old log files :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub DeleteOldFiles (vPath,vNoOfDaysToKeep) &lt;BR /&gt;&amp;nbsp; LET command = 'forfiles /P $(vPath) /S /M *.* /D -$(vDaysToKeep) /C "cmd /c del @PATH"';&lt;BR /&gt;&amp;nbsp; execute cmd.exe /c "$(command)" ;&lt;BR /&gt;End Sub;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call DeleteOldFiles ('"C:\ProgramData\Qlik\Sense\Repository\Archived Logs\.....\Script\"',30);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------&lt;/P&gt;&lt;P&gt;This solution requires the EXECTUE command to be allowed on your Sense server. If you do not want that, then just create a scheduled task with windows scheduler that runs this as a batch-command for auto delete of logfiles 30 Days or older:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;forfiles /P "C:\ProgramData\Qlik\Sense\Repository\Archived Logs\.....\Script\" /S /M *.* /D -30 /C "cmd /c del @PATH"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;brg Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Oct 2016 08:55:42 GMT</pubDate>
    <dc:creator>RSvebeck</dc:creator>
    <dc:date>2016-10-27T08:55:42Z</dc:date>
    <item>
      <title>Sense: 5Gig of logs in: ProgramData\Qlik\Sense\Log</title>
      <link>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933175#M4609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a customer who has %Gig of log files in &lt;SPAN style="font-size: 10.0pt; font-family: 'Verdana',sans-serif; color: black;"&gt;ProgramData\Qlik\Sense\Log&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Verdana',sans-serif; color: black;"&gt;I've adviced to delete it for now, as I don't see any problems doing so, but some questions remain.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Why does Sense create so many log files (keeping them all)&lt;/LI&gt;&lt;LI&gt;How can I limit this&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached a log file from my own laptop... not showing much shcoking....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 07:16:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933175#M4609</guid>
      <dc:creator>jeroen_wagner</dc:creator>
      <dc:date>2015-10-08T07:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sense: 5Gig of logs in: ProgramData\Qlik\Sense\Log</title>
      <link>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933176#M4610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And here one of the customers log files...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, nothing mo&lt;SPAN style="font-size: 13.3333px;"&gt;re than te script execution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But why keep all those log files&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 07:47:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933176#M4610</guid>
      <dc:creator>jeroen_wagner</dc:creator>
      <dc:date>2015-10-08T07:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sense: 5Gig of logs in: ProgramData\Qlik\Sense\Log</title>
      <link>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933177#M4611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jeroen, this is an open question for Sense - something I've asked about in terms of at least setting the script log verbosity by app or globally. I am not aware of any way&amp;nbsp; presently to stop those time-stamped script logs from being created.&lt;/P&gt;&lt;P&gt;For now, I just manually delete those script log files in Qlik\Sense\Log\Script.&lt;/P&gt;&lt;P&gt;In a later version 2.x I believe those logs get archived to the Qlik\Sense\Repository\Archived Logs\[SERVERNAME]\Script folder.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 16:45:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933177#M4611</guid>
      <dc:creator>Tyler_Waterfall</dc:creator>
      <dc:date>2015-10-19T16:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sense: 5Gig of logs in: ProgramData\Qlik\Sense\Log</title>
      <link>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933178#M4612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tyler,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of manually deleting the logs in C:\PRogramData\&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Qlik\Sense\Repository\Archived Logs\[SERVERNAME]\Script folder, I created a similar folder structure in a different drive (D:\ProgramData\Qlik\...).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To have the log files being tracked accordingly by Qlik Engine, I modified the "Connection String" value within QMC, to point to Drive D with the same folder structure. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BEFORE:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ArchivedLogs.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/110559_ArchivedLogs.PNG" style="height: 144px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AFTER&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ArchivedLogs_New.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/110560_ArchivedLogs_New.PNG" style="height: 140px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would expect the new logs will now being created in Drive D, however, that is not the case (New logs are still being generated within "Script" folder of drive C). Is there something that I miss? (I've already restarted all the Qlik Sense Services upon changing the value above).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your feedback on this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 00:17:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933178#M4612</guid>
      <dc:creator>awqvuserneo</dc:creator>
      <dc:date>2016-01-05T00:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sense: 5Gig of logs in: ProgramData\Qlik\Sense\Log</title>
      <link>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933179#M4613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anton,&lt;/P&gt;&lt;P&gt;The data connections "ServerLogFolder" and "ArchivedLogsFolder" in the QMC are only used by the Monitoring Apps - the Operations Monitor and License Monitor - and do not impact where any Qlik Sense services &lt;EM&gt;write &lt;/EM&gt;their logs but where these apps look for log files.&lt;/P&gt;&lt;P&gt;I am not aware of any way in the QMC to change where these logs are written. As I understand it, that path is set during Sense Server installation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 13:52:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933179#M4613</guid>
      <dc:creator>Tyler_Waterfall</dc:creator>
      <dc:date>2016-01-05T13:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sense: 5Gig of logs in: ProgramData\Qlik\Sense\Log</title>
      <link>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933180#M4614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tyler,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your respond. I guess you're right, because this setting is only located at "Data Connection", of which you usually use to connect to your data sources. I'm hoping the Archived Logs is a bit different because it's automatically created when Qlik Sense is being installed, I guess I'm wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably what I should do in the first place, is to have the Qlik Sense installed on Drive D, therefore all the Archived Logs will be installed on Drive D as well. OR, maybe I can re-install the Qlik Sense on Drive D now, even though I'm a bit hesitant doing so (Last time I did it with Qlik Sense 1.0, something stop working).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, thank you for your input, I appreciate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 14:27:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933180#M4614</guid>
      <dc:creator>awqvuserneo</dc:creator>
      <dc:date>2016-01-05T14:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sense: 5Gig of logs in: ProgramData\Qlik\Sense\Log</title>
      <link>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933181#M4615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeroen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I've done to prevent the C-drive filling up is:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a new directory on your D-drive, e.g. D:\QlikSenseArchivedLogs&lt;/LI&gt;&lt;LI&gt;Stop your Qlik Sense services&lt;/LI&gt;&lt;LI&gt;Move C:\ProgramData\Qlik\Sense\Repository\Archived Logs\YOURHOSTNAME to &lt;SPAN style="font-size: 13.3333px;"&gt;D:\QlikSenseArchivedLogs\YOURHOSTNAME. This might be a good moment for a coffee break &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Open a command prompt (elevated, which is default in Windows Server 2012 R2)&lt;/LI&gt;&lt;LI&gt;Go to &lt;SPAN style="font-size: 13.3333px;"&gt;C:\ProgramData\Qlik\Sense\Repository\Archived Logs\:&lt;BR /&gt;cd "&lt;SPAN style="font-size: 13.3333px;"&gt;C:\ProgramData\Qlik\Sense\Repository\Archived Logs\&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Create a directory junction:&lt;BR /&gt;&lt;/SPAN&gt;mklink /J YOURHOSTNAME &lt;SPAN style="font-size: 13.3333px;"&gt;D:\QlikSenseArchivedLogs\YOURHOSTNAME&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Try to navigate in Explorer from &lt;SPAN style="font-size: 13.3333px;"&gt;C:\ProgramData\Qlik\Sense\Repository\Archived Logs\ to YOURHOSTNAME, just to be sure.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Start your Qlik Sense services&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#TryThisOnYourTestServerFirstOfCourse&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Egbert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 14:14:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933181#M4615</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-26T14:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sense: 5Gig of logs in: ProgramData\Qlik\Sense\Log</title>
      <link>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933182#M4616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx Egbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best solution though remains clearing out the old logs every once in a while...&lt;BR /&gt;Hopefully the QMC will come with an option to keep logs for a certain period that you can set...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 08:43:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933182#M4616</guid>
      <dc:creator>jeroen_wagner</dc:creator>
      <dc:date>2016-10-05T08:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sense: 5Gig of logs in: ProgramData\Qlik\Sense\Log</title>
      <link>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933183#M4617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solved this problem with creating an app that runs once per day and clears out old log files :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub DeleteOldFiles (vPath,vNoOfDaysToKeep) &lt;BR /&gt;&amp;nbsp; LET command = 'forfiles /P $(vPath) /S /M *.* /D -$(vDaysToKeep) /C "cmd /c del @PATH"';&lt;BR /&gt;&amp;nbsp; execute cmd.exe /c "$(command)" ;&lt;BR /&gt;End Sub;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call DeleteOldFiles ('"C:\ProgramData\Qlik\Sense\Repository\Archived Logs\.....\Script\"',30);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------&lt;/P&gt;&lt;P&gt;This solution requires the EXECTUE command to be allowed on your Sense server. If you do not want that, then just create a scheduled task with windows scheduler that runs this as a batch-command for auto delete of logfiles 30 Days or older:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;forfiles /P "C:\ProgramData\Qlik\Sense\Repository\Archived Logs\.....\Script\" /S /M *.* /D -30 /C "cmd /c del @PATH"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;brg Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 08:55:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933183#M4617</guid>
      <dc:creator>RSvebeck</dc:creator>
      <dc:date>2016-10-27T08:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sense: 5Gig of logs in: ProgramData\Qlik\Sense\Log</title>
      <link>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933184#M4618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for sharing the "workaround". &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2016 18:24:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933184#M4618</guid>
      <dc:creator>awqvuserneo</dc:creator>
      <dc:date>2016-11-07T18:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sense: 5Gig of logs in: ProgramData\Qlik\Sense\Log</title>
      <link>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933185#M4619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anton,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have also the same situation and a am&amp;nbsp; trying to Use your script for deleting the more then 90 days logs file automatically from log folder but&amp;nbsp; i am not getting success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;currently i am using below scipt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'forfiles /P "C:/ProgramData/Qlik/Sense/Log/Temp/S/M *.*/D -90 /C "cmd /c del @path" ';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you please guide me if&amp;nbsp; i need to change something in script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in Advance &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 08:39:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933185#M4619</guid>
      <dc:creator>yadav_anil782</dc:creator>
      <dc:date>2018-06-11T08:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sense: 5Gig of logs in: ProgramData\Qlik\Sense\Log</title>
      <link>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933186#M4620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the late respond. Have you had a chance to make it work? I would modify the code as follows: reverse the folder separator, and put a space between /Temp /S /M&lt;/P&gt;&lt;P&gt;Note:(I haven't fully tested it though).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;forfiles /P "C:\ProgramData\Qlik\Sense\Log\Temp" /S /M *.* /D -90 /C "cmd /c del @path" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Anton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2018 13:07:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933186#M4620</guid>
      <dc:creator>awqvuserneo</dc:creator>
      <dc:date>2018-06-22T13:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sense: 5Gig of logs in: ProgramData\Qlik\Sense\Log</title>
      <link>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933187#M4621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anton ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i applied below script and it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;forfiles /p "E:\QlikSenseSharedData\Archived Logs" /s /m *.log* /D -180 /C "cmd /c del @path"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2018 12:28:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933187#M4621</guid>
      <dc:creator>yadav_anil782</dc:creator>
      <dc:date>2018-07-02T12:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sense: 5Gig of logs in: ProgramData\Qlik\Sense\Log</title>
      <link>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933188#M4622</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: #000000; background-color: #f2f2f2;"&gt;Hello Anton ,&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: #000000; background-color: #f2f2f2;"&gt;i applied below script and it is working fine.&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: #000000; background-color: #f2f2f2;"&gt;forfiles /p "E:\QlikSenseSharedData\Archived Logs" /s /m *.log* /D -180 /C "cmd /c del @path"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2018 12:28:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933188#M4622</guid>
      <dc:creator>yadav_anil782</dc:creator>
      <dc:date>2018-07-02T12:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sense: 5Gig of logs in: ProgramData\Qlik\Sense\Log</title>
      <link>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933189#M4623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the best "solution" in my opinion.&lt;/P&gt;&lt;P&gt;I created a small script that runs every day and deletes all log files older the n two weeks. Otherwise my c: drive would fill up.&lt;/P&gt;&lt;P&gt;Qlik should add the ability to auto-delete logs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 07:38:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log/m-p/933189#M4623</guid>
      <dc:creator>gustavgager</dc:creator>
      <dc:date>2018-07-05T07:38:04Z</dc:date>
    </item>
  </channel>
</rss>

