{"id":10693,"date":"2019-08-23T15:33:56","date_gmt":"2019-08-23T13:33:56","guid":{"rendered":"http:\/\/datalabsua.com\/?p=10693"},"modified":"2020-09-22T13:34:54","modified_gmt":"2020-09-22T10:34:54","slug":"logsmover-add-on","status":"publish","type":"post","link":"https:\/\/datalabsua.com\/en\/logsmover-add-on\/","title":{"rendered":"LogsMover Add-on"},"content":{"rendered":"<p>Are you tired of folders crammed with logs? Do you itch to clean up every folder but don\u2019t have any time? Or you&#8217;re afraid some files may be lost? Fortunately, you don\u2019t need to worry about this anymore! Our team at DataLabs has developed LogsMover, a free QlikView add-on that will deal with these problems.<\/p>\n<p>As soon as you activate LogsMover, it will collect all previous logs generated by QlikView projects into one folder. As for obsolete logs, the add-on zips them. Since archives are formed and sorted by days, finding the necessary logs won&#8217;t be a problem. Moreover, the last log file will always be at hand, in the application folder. Thus, you won&#8217;t be wasting time searching for it if you suddenly need it. As a result, only the most relevant files will be in the application&#8217;s root folder.<\/p>\n<p>LogsMover takes up little disk space and is supported by QlikView versions at least older than 9.0. After installation, you can immediately run it. The add-on is quite easy to manage. By spending 3-5 minutes connecting it to a QlikView project, you save hours that others spend on finding the right log.<\/p>\n<p>What\u2019s more, having all your logs stored and stacked, you can analyze them with Rob Wunderlich\u2019s <a href=\"https:\/\/qlikviewcookbook.com\/tools\/#squelch-taas-accordion-shortcode-content-8\">Script Log Analyzer<\/a>. \u00a0It will help you find any deviations in your app&#8217;s script and give the ability to improve the performance.<\/p>\n<p>LogsMover is an effective solution for thrifty users who put the workflow organization in the first place.<\/p>\n<h2 style=\"text-align: center;\">Implementation<\/h2>\n<p>Download LogsMover <a href=\"https:\/\/www.dropbox.com\/s\/q6qqkuy7chijmrs\/LogsMover.zip?dl=0\">here<\/a>.<\/p>\n<p>The 7z folder with add-on files must be downloaded into\u00a0your QlikView project\u2019s folder.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-10587 aligncenter\" src=\"https:\/\/datalabsua.com\/wp-content\/uploads\/2020\/09\/107526_Image-Home-168.jpg\" alt=\"\" width=\"330\" height=\"109\" \/><\/p>\n<p>Before the implementation of the add-on, you need PowerShell to be installed on your system so that LogsMover can work properly.<\/p>\n<p>Also, you must enable Can Execute External Programs in Edit Script window.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10588\" src=\"https:\/\/datalabsua.com\/wp-content\/uploads\/2020\/09\/enabling.jpg\" alt=\"\" width=\"330\" height=\"169\" \/><\/p>\n<p>To include add-on into your QlikView project, add to the Reload Script next statements:<\/p>\n<p>SET <strong>vLogRetentionPeriod<\/strong> = 7;<\/p>\n<p>SET <strong>vLogsFolder<\/strong> = &#8216;..\\Logs&#8217;;<\/p>\n<p>SET <strong>v7zFolder<\/strong> = &#8216;..\\7z&#8217;;<\/p>\n<p>$(Include=$(v7zFolder)\\LogsMover.qvs);<\/p>\n<p>And set up next settings in variables:<\/p>\n<p><strong>v7zFolder<\/strong> \u2013 path to the add-on files folder. Without trailing slash;<\/p>\n<p><strong>vLogsFolder<\/strong> \u2013 path to the log files archive folder where they will be stored and archived. Without trailing slash;<\/p>\n<p><strong>vLogRetentionPeriod<\/strong> \u2013 number of days for log retention period. All log files older than specified retention period will be zipped.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you tired of folders crammed with logs? Do you itch to clean up every folder but don\u2019t have any time? Or you&#8217;re afraid some files may be lost? Fortunately, you don\u2019t need to worry about this anymore! Our team at DataLabs has developed LogsMover, a free QlikView add-on that will deal with these problems. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":41785,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[53],"tags":[52],"class_list":["post-10693","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-logsmover"],"_links":{"self":[{"href":"https:\/\/datalabsua.com\/en\/wp-json\/wp\/v2\/posts\/10693","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/datalabsua.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/datalabsua.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/datalabsua.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/datalabsua.com\/en\/wp-json\/wp\/v2\/comments?post=10693"}],"version-history":[{"count":0,"href":"https:\/\/datalabsua.com\/en\/wp-json\/wp\/v2\/posts\/10693\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/datalabsua.com\/en\/wp-json\/wp\/v2\/media\/41785"}],"wp:attachment":[{"href":"https:\/\/datalabsua.com\/en\/wp-json\/wp\/v2\/media?parent=10693"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/datalabsua.com\/en\/wp-json\/wp\/v2\/categories?post=10693"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/datalabsua.com\/en\/wp-json\/wp\/v2\/tags?post=10693"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}