Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have a customer who has %Gig of log files in ProgramData\Qlik\Sense\Log
I've adviced to delete it for now, as I don't see any problems doing so, but some questions remain.
thanx
Attached a log file from my own laptop... not showing much shcoking....
Hello Anton,
i have also the same situation and a am trying to Use your script for deleting the more then 90 days logs file automatically from log folder but i am not getting success.
currently i am using below scipt.
'forfiles /P "C:/ProgramData/Qlik/Sense/Log/Temp/S/M *.*/D -90 /C "cmd /c del @path" ';
could you please guide me if i need to change something in script
Many thanks in Advance
Hi Anil,
Sorry for the late respond. Have you had a chance to make it work? I would modify the code as follows: reverse the folder separator, and put a space between /Temp /S /M
Note:(I haven't fully tested it though).
forfiles /P "C:\ProgramData\Qlik\Sense\Log\Temp" /S /M *.* /D -90 /C "cmd /c del @path"
-Anton
Hello Anton ,
i applied below script and it is working fine.
forfiles /p "E:\QlikSenseSharedData\Archived Logs" /s /m *.log* /D -180 /C "cmd /c del @path"
Hello Anton ,
i applied below script and it is working fine.
forfiles /p "E:\QlikSenseSharedData\Archived Logs" /s /m *.log* /D -180 /C "cmd /c del @path"
This is the best "solution" in my opinion.
I created a small script that runs every day and deletes all log files older the n two weeks. Otherwise my c: drive would fill up.
Qlik should add the ability to auto-delete logs.