<?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: How to move all the document log files into Separate folder in Qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-move-all-the-document-log-files-into-Separate-folder-in/m-p/1438036#M1324648</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with the previous contributors about the setup and administration of log files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are a couple of commands that we execute daily, in a batch file, to move the logs to a separate structure and maintain a months history there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This command moves files that are over 24 hours old...&lt;/P&gt;&lt;P&gt;&lt;EM&gt;robocopy "C:\ProgramData\QlikTech\SourceDocuments" "C:\ProgramData\QlikTech\SourceDocumentsLogs" *.log /S /XX /NP /MOV /IS /MINAGE:1 /XD "*backup*" "*corrupt*"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;This one deletes anything older than 31 days...&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;forfiles /p C:\ProgramData\QlikTech\SourceDocumentsLogs\ /s /m *.log /d -31 /c "cmd /c del @file| echo @FILE"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;The only configuration needed is the establishment of a logs folder.&amp;nbsp; In this case I have called it "SourceDocumentLogs".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Dec 2017 17:46:27 GMT</pubDate>
    <dc:creator>bnichol</dc:creator>
    <dc:date>2017-12-06T17:46:27Z</dc:date>
    <item>
      <title>How to move all the document log files into Separate folder in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-move-all-the-document-log-files-into-Separate-folder-in/m-p/1438033#M1324643</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;Currently document log is not enabled in our server. could any of you please suggest me how to enable document log file generation at the server level and to store all the log files inside separate folder, dont want to save in the same QVW folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont want to do this change inside each app, instead i want to do this change at the server level and configure the separate log folder path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Poppy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-move-all-the-document-log-files-into-Separate-folder-in/m-p/1438033#M1324643</guid>
      <dc:creator>poppypearce</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to move all the document log files into Separate folder in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-move-all-the-document-log-files-into-Separate-folder-in/m-p/1438034#M1324645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Afaik you can only set the Generate Logfile option in the document properties. And the log file will be saved in the same place as the .qvw file that generates it. If you want the logs elsewhere then you need to create a windows script that moves those log files to whereever you want them. And rename those logfiles too if you have several qlikview documents with the same name. And of course if you check a log file and see that something went wrong you'll have to figure out where the relevant .qvw is stored again, because it's now in a different place then the log file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words: bad idea, don't bother.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 11:50:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-move-all-the-document-log-files-into-Separate-folder-in/m-p/1438034#M1324645</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2017-12-06T11:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to move all the document log files into Separate folder in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-move-all-the-document-log-files-into-Separate-folder-in/m-p/1438035#M1324646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As &lt;A href="https://community.qlik.com/qlik-users/96544"&gt;gwassenaar&lt;/A&gt;‌ stated, you cannot set the Generate Logfile option at a server level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can do though is set the User Preferences in Qlik Desktop to always use a logfile for new documenets, which is one of the first settings I change when installing the desktop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-7712"&gt;Setting up the QlikView Desktop Environment&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 12:05:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-move-all-the-document-log-files-into-Separate-folder-in/m-p/1438035#M1324646</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2017-12-06T12:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to move all the document log files into Separate folder in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-move-all-the-document-log-files-into-Separate-folder-in/m-p/1438036#M1324648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with the previous contributors about the setup and administration of log files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are a couple of commands that we execute daily, in a batch file, to move the logs to a separate structure and maintain a months history there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This command moves files that are over 24 hours old...&lt;/P&gt;&lt;P&gt;&lt;EM&gt;robocopy "C:\ProgramData\QlikTech\SourceDocuments" "C:\ProgramData\QlikTech\SourceDocumentsLogs" *.log /S /XX /NP /MOV /IS /MINAGE:1 /XD "*backup*" "*corrupt*"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;This one deletes anything older than 31 days...&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;forfiles /p C:\ProgramData\QlikTech\SourceDocumentsLogs\ /s /m *.log /d -31 /c "cmd /c del @file| echo @FILE"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;The only configuration needed is the establishment of a logs folder.&amp;nbsp; In this case I have called it "SourceDocumentLogs".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 17:46:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-move-all-the-document-log-files-into-Separate-folder-in/m-p/1438036#M1324648</guid>
      <dc:creator>bnichol</dc:creator>
      <dc:date>2017-12-06T17:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to move all the document log files into Separate folder in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-move-all-the-document-log-files-into-Separate-folder-in/m-p/1438037#M1324650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/5730"&gt;bnichol&lt;/A&gt;‌&amp;nbsp; Robocopy - an old utilty but a good (and powerful) one! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 17:59:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-move-all-the-document-log-files-into-Separate-folder-in/m-p/1438037#M1324650</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2017-12-06T17:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to move all the document log files into Separate folder in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-move-all-the-document-log-files-into-Separate-folder-in/m-p/1438038#M1324652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brent,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your suggestions. i noticed that in qlikview 12 version we have "batchfile" folder where the logs will be written first later the logs will be moved to respective document folder, is there any option to disable the logs being written to respective document folder and to retain only in the "batchfile" folder. please suggest if anyone has any information on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Poppy &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 12:33:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-move-all-the-document-log-files-into-Separate-folder-in/m-p/1438038#M1324652</guid>
      <dc:creator>poppypearce</dc:creator>
      <dc:date>2017-12-20T12:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to move all the document log files into Separate folder in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-move-all-the-document-log-files-into-Separate-folder-in/m-p/1438039#M1324654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also as i was going through the qlikview server &amp;amp; publisher book got to know that one copy of the document log file will be distributed to publisher log folder as per given path below along with the task log.&lt;/P&gt;&lt;P&gt;C:\&lt;SPAN style="font-size: 10pt;"&gt;ProgramData\QlikTech\DistributionService\1\Log&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just wanted to know, will this document log be distributed to publisher log folder as mentioned above even though the "&lt;SPAN style="font-size: 10pt;"&gt;Generate Logfile" &lt;/SPAN&gt;option is disabled in Document Properties. please suggest..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 08:18:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-move-all-the-document-log-files-into-Separate-folder-in/m-p/1438039#M1324654</guid>
      <dc:creator>poppypearce</dc:creator>
      <dc:date>2017-12-21T08:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to move all the document log files into Separate folder in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-move-all-the-document-log-files-into-Separate-folder-in/m-p/1438040#M1324656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Poppy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could not able to identify a configuration setting to only write to the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;"batchfile" folder&lt;/SPAN&gt;.&amp;nbsp; Perhaps someone else knows if this exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only problem with your suggestion, it could lead to hundreds thousands of files in a single folder.&amp;nbsp; This could in turn lead to performance issues.&amp;nbsp; We've seen it happen when the EDXresults folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The benefit of the method I recommended earlier, is that only the current days logs are in the application folder, and a similar folder navigation is used for older files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 13:13:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-move-all-the-document-log-files-into-Separate-folder-in/m-p/1438040#M1324656</guid>
      <dc:creator>bnichol</dc:creator>
      <dc:date>2017-12-21T13:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to move all the document log files into Separate folder in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-move-all-the-document-log-files-into-Separate-folder-in/m-p/1438041#M1324659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Poppy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you uncheck the 'Generate Log' setting, then neither log file is generated...&lt;/P&gt;&lt;P&gt;1. "{ApllicationName}.qvw.log" in the (Application Folder)&lt;/P&gt;&lt;P&gt;2. "DocumentLog.txt" in the "\ProgramData\QlikTech\DistributionService\1\Log\{Date}\{Time}- {ApllicationName}" folder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good idea for a configuration setting.&amp;nbsp;&amp;nbsp; You might want to create an "idea" in the community, or see if someone has already submitted it... &lt;A href="https://community.qlik.com/space/2040"&gt;Ideas&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 13:23:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-move-all-the-document-log-files-into-Separate-folder-in/m-p/1438041#M1324659</guid>
      <dc:creator>bnichol</dc:creator>
      <dc:date>2017-12-21T13:23:49Z</dc:date>
    </item>
  </channel>
</rss>

