Find error log file and delete log/any file with date condition
Hi Friends,
This is my first document on Qlik Community,I have a simple but useful code for Qlik Developer/Admin so, why I implement this code because what happen sometimes error occur after 2-3 days of publishing application because of table not found and any other reason.
The below code is find error in all log file for any Qlik application you don't have to mention any application name or any path name just put one main path then this application is search all path or sub path and file log and load it.
And Second one more feature in the below code you can delete log file base on date condition,If you want to store only last 30 days’ log and other log file delete just put date condition on below code (like Today-30).
Before run this code, you must enable some feature or option in Qlikview
Open Qlikview->Edit Script->Setting Tabs-> Enable Can Execute Extenal Programs