<?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 do I do to relocate an application log to another folder? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-do-to-relocate-an-application-log-to-another-folder/m-p/240400#M90931</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use as a good practice, a small piece of script that after load, create a copy of the log in other folder specifying , the username , date and app name in a specific folder, then the logs can be analized from a qv application that analize the log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the conceptual piece of script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tablename:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; F1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; hola&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;let vuser=osuser();&lt;BR /&gt;let vfile=DocumentName();&lt;BR /&gt;let vfecha=timestamp(now(),'YYYYMMDDhhmmss');&lt;/P&gt;&lt;P&gt;//exit script;&lt;/P&gt;&lt;P&gt;execute cmd.exe /C copy $(vfile).log&amp;nbsp; $(vfecha)&amp;amp;$(vuser)&amp;amp;$(vfile).log; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jun 2011 14:47:04 GMT</pubDate>
    <dc:creator>hectorgarcia</dc:creator>
    <dc:date>2011-06-22T14:47:04Z</dc:date>
    <item>
      <title>How do I do to relocate an application log to another folder?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-do-to-relocate-an-application-log-to-another-folder/m-p/240399#M90930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I want to relocate an application log to a log folder. I tried to write the path in the box Title after checking the box Generate Logfile who is in the following menu&lt;/P&gt;&lt;P&gt;Setting -&amp;gt; Document Properties -&amp;gt; General.&lt;/P&gt;&lt;P&gt;I used an include sentence, but it didn't work well.&lt;/P&gt;&lt;P&gt;Could someone give me an example of how to do it, please?&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Aug 2010 21:07:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-do-to-relocate-an-application-log-to-another-folder/m-p/240399#M90930</guid>
      <dc:creator />
      <dc:date>2010-08-02T21:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I do to relocate an application log to another folder?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-do-to-relocate-an-application-log-to-another-folder/m-p/240400#M90931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use as a good practice, a small piece of script that after load, create a copy of the log in other folder specifying , the username , date and app name in a specific folder, then the logs can be analized from a qv application that analize the log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the conceptual piece of script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tablename:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; F1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; hola&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;let vuser=osuser();&lt;BR /&gt;let vfile=DocumentName();&lt;BR /&gt;let vfecha=timestamp(now(),'YYYYMMDDhhmmss');&lt;/P&gt;&lt;P&gt;//exit script;&lt;/P&gt;&lt;P&gt;execute cmd.exe /C copy $(vfile).log&amp;nbsp; $(vfecha)&amp;amp;$(vuser)&amp;amp;$(vfile).log; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 14:47:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-do-to-relocate-an-application-log-to-another-folder/m-p/240400#M90931</guid>
      <dc:creator>hectorgarcia</dc:creator>
      <dc:date>2011-06-22T14:47:04Z</dc:date>
    </item>
  </channel>
</rss>

