<?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: CMD. Log file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/CMD-Log-file/m-p/1058525#M943389</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;Just enable the&amp;nbsp; "Generate Logfile " check box in the application document properties&amp;nbsp; General tab.So that for every application reload a log file will get generated automatically!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 10 Jan 2016 18:08:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-01-10T18:08:43Z</dc:date>
    <item>
      <title>CMD. Log file</title>
      <link>https://community.qlik.com/t5/QlikView/CMD-Log-file/m-p/1058520#M943384</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 written the .cmd file which runs and saves the Qlikview application.&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14524263195051838 jive_text_macro" jivemacro_uid="_14524263195051838" modifiedtitle="true"&gt;
&lt;P&gt;"C:\Program Files (x86)\QlikView\Qv.exe" /R "C:\Users\Mindaugasb\Desktop\Temperature.qvw"&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;But I am willing to get the log file as well.&lt;/P&gt;&lt;P&gt;What is command to accomplish this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2020 18:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CMD-Log-file/m-p/1058520#M943384</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2020-11-20T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: CMD. Log file</title>
      <link>https://community.qlik.com/t5/QlikView/CMD-Log-file/m-p/1058521#M943385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you want a dos log maybe a batch file with&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DATE /T &amp;gt;A.LOG&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;cmd.exe /c&amp;nbsp; &amp;gt;&amp;gt;A.LOG ""C:\Program Files\QlikView\Qv.exe" /R "C:\Users\mgrossi\Downloads\a cmd.qvw""&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DATE /T &amp;gt;&amp;gt;A.LOG&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want the QlikView document log enable in&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Menù&amp;nbsp; --&amp;gt; Settings --&amp;gt; Document Properties --&amp;gt; General --&amp;gt; Generate Logfile&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jan 2016 15:16:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CMD-Log-file/m-p/1058521#M943385</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-01-10T15:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: CMD. Log file</title>
      <link>https://community.qlik.com/t5/QlikView/CMD-Log-file/m-p/1058522#M943386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In the .qvw: Settings &amp;gt; Document Settings - check the 'Generate Logfile' checkbox, a log file will now be created in the same folder as the .qvw.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You can also set server logging via teh Mgmt Console: Qlikview Server Settings &amp;gt; Logging.&lt;/LI&gt;&lt;/UL&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; You will find the reload logs under following folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you have Windows Server 2003&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Documents and Settings\All Users\Application Data\QlikTech\DistributionService\&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you have Widows Server 2008&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Programdata\QlikTech\DistributionService\&lt;/STRONG&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;&lt;BR /&gt;&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;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;hope this helps,&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;Hirish&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jan 2016 15:23:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CMD-Log-file/m-p/1058522#M943386</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2016-01-10T15:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: CMD. Log file</title>
      <link>https://community.qlik.com/t5/QlikView/CMD-Log-file/m-p/1058523#M943387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not perfectly what I am looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to get the log file only when I do reload the application by using .cmd file. Now it seems that the log file appears even when the application is reloaded manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jan 2016 17:34:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CMD-Log-file/m-p/1058523#M943387</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2016-01-10T17:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: CMD. Log file</title>
      <link>https://community.qlik.com/t5/QlikView/CMD-Log-file/m-p/1058524#M943388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you make my clear what needs to be added to my batch file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the .cmd file contain this line:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;"C:\Program Files (x86)\QlikView\Qv.exe" /R "C:\Users\Mindaugasb\Desktop\Temperature.qvw"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;It reloads and saves the script. Additionally, I want to get the log file but only when executing the .cmd file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jan 2016 17:41:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CMD-Log-file/m-p/1058524#M943388</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2016-01-10T17:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: CMD. Log file</title>
      <link>https://community.qlik.com/t5/QlikView/CMD-Log-file/m-p/1058525#M943389</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;Just enable the&amp;nbsp; "Generate Logfile " check box in the application document properties&amp;nbsp; General tab.So that for every application reload a log file will get generated automatically!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jan 2016 18:08:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CMD-Log-file/m-p/1058525#M943389</guid>
      <dc:creator />
      <dc:date>2016-01-10T18:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: CMD. Log file</title>
      <link>https://community.qlik.com/t5/QlikView/CMD-Log-file/m-p/1058526#M943390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DOS log and QlikView logfile are different.&lt;/P&gt;&lt;P&gt;In the batch you can add a DOS log (start date of the batch, end date, etc, .....) but you can't enable/disable the logfile of QlikView script.&lt;/P&gt;&lt;P&gt;In QlikView menu you can enable/disable the QlikView logfile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AFAIK you can only enable/disable the QlikView logfile with the flag in the menu of QlikView, so always enabled or always disabled until the next change in Qlik menu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jan 2016 19:13:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CMD-Log-file/m-p/1058526#M943390</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-01-10T19:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: CMD. Log file</title>
      <link>https://community.qlik.com/t5/QlikView/CMD-Log-file/m-p/1058527#M943391</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;You can see the log file for every reload You made over here,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;probably in &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;C:\Documents and Settings\All Users\Application Data\QlikTech\DistributionService\2\Log&lt;/STRONG&gt;&lt;/P&gt;&lt;P&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;t&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;here is a folder with a datestamp and in that there is one folder for every single reload of that day where you can still find your logs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;Hirish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 04:11:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CMD-Log-file/m-p/1058527#M943391</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2016-01-11T04:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: CMD. Log file</title>
      <link>https://community.qlik.com/t5/QlikView/CMD-Log-file/m-p/1058528#M943392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In QV server, I have seen a practice when the log is called straight from .cmd info the folder the user sets.&lt;/P&gt;&lt;P&gt;The command line looks like this:&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14524957808721578" jivemacro_uid="_14524957808721578"&gt;
&lt;P&gt;"c:\Program Files\QlikView\Distribution Service\QVDistributionService.exe" -r="c:\QVD\Axapta.qvw" -out="c:\log\Axapta.log"&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;This line in the .cmd file works great in the server but not in the computer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, I do not understand the difference between /R and -r= in the script. But in my computer -r command do not work, /R works as a charm. -out also do not work in my computer and I am looking how to call this function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 07:10:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CMD-Log-file/m-p/1058528#M943392</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2016-01-11T07:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: CMD. Log file</title>
      <link>https://community.qlik.com/t5/QlikView/CMD-Log-file/m-p/1058529#M943393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Indeed, that's what will happen and what Massimo already explained in his second post. The log file generation is controlled by a switch in the QVW document. You cannot enable/disable that setting at random from outside the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 09:11:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CMD-Log-file/m-p/1058529#M943393</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-01-11T09:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: CMD. Log file</title>
      <link>https://community.qlik.com/t5/QlikView/CMD-Log-file/m-p/1058530#M943394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okei. I understood that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Now it by default appears in the same directory as QV application.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In case I want to change the log file directory. Let's say to save all logs in C:\logs\.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How should I change my .cmd query?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the batch file contains:&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_1452508337298141 jive_text_macro" jivemacro_uid="_1452508337298141"&gt;
&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;"c:\Program Files\QlikView\Distribution Service\QVDistributionService.exe" &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;/R &lt;/SPAN&gt;&lt;SPAN class="attribute-value" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: blue;"&gt;"c:\QVD\Axapta.qvw"&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 10:32:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CMD-Log-file/m-p/1058530#M943394</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2016-01-11T10:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: CMD. Log file</title>
      <link>https://community.qlik.com/t5/QlikView/CMD-Log-file/m-p/1058531#M943395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to set in .cmd file to which folder the log file should be saved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2016 07:26:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CMD-Log-file/m-p/1058531#M943395</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2016-01-18T07:26:23Z</dc:date>
    </item>
  </channel>
</rss>

