Sorry for the delay - feel free to *bump* a post up - if you do not get a reply, so it may be visible again at the top of the list.
See this topic in the help fie:
The default log files are stored in folders under %ProgramData%\Qlik\Sense\Log. The local log configuration file can be used to set up the logging so that the log files are also stored in another location.
You can change the logging levels - here: QMC->Engines->Central - look for Logging.
Let us know how you do.
Please mark the appropriate replies as CORRECT / HELPFUL so our team and other members know that your question(s) has been answered to your satisfaction.
my screen doesn't look like yours so maybe I have a different qliksense version?
I haven't quite got round to upgrading to 2.0 (next week hopefully)
I've turned all to Info in my version
Am I right in thinking that upgrading Qlikview or Qliksense server by default turns logging back up to maximum as I seemed to caught out on this with this on Qlikview server SR11 upgrade ?
About a month ago i did upgrade to 2.1.1 and now my server has filled up with logfiles.
Can i delete Trace Log files or does this "destroy" the Operation Monitor Dashboard which is what i am being told by 3rd party support?
I enclose a screenshot as i also see that every 8 hours an 8 meg file is created ?
I'm not sure what this is ?
As for the logging protocol , i have them set to "info" which i thought was the smallest log produced?
I enclose another screenshot
You can remove all logs you want, but that will remove the history (which might not be a big deal at this point.)
I recommend you turn off the QIX log (can get large VERY fast) and the traffic log. Neither is used by the Monitoring Apps (ie Operations Monitor) and these are typically just used for deep dive troubleshooting.
Concerning the Log\Script folder, we currently do not have an automated way to control the files there. You can remove those at will, keeping in mind that you will lose the nitty gritty details for each reload execution (which again might not be a big deal).
Also note that these script logs are archived in the Qlik\Sense\Repository\Archived Logs\[server]\Script folder and could be removed from there too.
Doing so would reduce the number of engine logs. The downside is less granular view of engine performance. You might not have any issue doing that initially. If the time comes when you need more granular detail on engine activity, change it back to 5 or 1 minute interval.
The biggest bang for your buck is to turn off the QIX log and the traffic log, and then periodically remove or zip up and move the script log files.
Hi deepanshu.chamoli - There is no one "ideal" timeframe for everyone. But you might consider a few things -
1- How much history do you want to see for sessions and usage (licensing)? 12 months seems typical
2- How likely are you to go back further than 3 months ago to troubleshoot some issue?
3- How many months of performance measures would help you understand capacity needs and anticipate the need for expansion?
I think the ideal situation is to retain long history (12-24 months) of certain logs (for licensing, app usage), and short history (3-6 months) for troubleshooting logs.
However, keeping this kind of mixed history would be a manual process unless you devise an automated script to accomplish this.
Candidates for Longer history -
- Scheduler > Trace > TaskExecutionHistory
- Engine > Trace > Session_Engine
- Repository >.. > AuditSecurity_Repository
- Proxy > .. > AuditSecurity_Proxy
- Engine > Trace > Performance