Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have daily 200MB "Events_<servername>_<date>" text files but I can't find any documentation that describes a way to have Nprinting limit their size or quantity. Any pointers or suggestions other than an external script?
May 2022 SR3
thx
Ok @kswindlehurst - You could try and check easter egg under Qlik logo (right click on Qlik Logo in About menu) and change verbosity for QlikView desktop on NPrinting engine server. I dont know if this setting is user based so you may need to check if you need to do this when logged on as NPritning engine service account)
The typical settings would be:
Cheers
Lech
Hi @kswindlehurst.
Have you looked what is in those logs? The fact that text files are so large can be attributed to poor environment which logs so many warning and errors that they grow in size. The remedy to it would be action on identifying what those logs contain and action on this. In normal scenario those logs should have few kb but can go large if you run out of the memory or have problem with reports.
My files grew large when I had bad designs in my apps. I was facing errors like this one and that error was logged every few seconds: "500 Warning WorkingSet: Virtual Memory is growing CRITICALLY beyond parameters". Resolving this issue also resolved issue with large log files. Cheers.
Hi Lech_Miszkiewic
The vast majority of events are informational so adjusting the logging level would be ideal (perhaps the only option), but I don't know where that setting is.
Here's yesterdays breakdown, which seems typical for the handful I skimmed:
-Kevin
Ok @kswindlehurst - You could try and check easter egg under Qlik logo (right click on Qlik Logo in About menu) and change verbosity for QlikView desktop on NPrinting engine server. I dont know if this setting is user based so you may need to check if you need to do this when logged on as NPritning engine service account)
The typical settings would be:
Cheers
Lech
Hi,
Did you check the official help site page related to logging at https://help.qlik.com/en-US/nprinting/May2023/Content/NPrinting/AdministeringQVNprinting/Logging.htm ? It also explain how to limit the size of log files and the number of them to be kept.
Check also if the logging level is different than the default. For example it was set to debug, and forgot to revert it to standard.
Please note that the .config files are all overwritten by the Qlik NPrinting update process. So customizations on them must be manually re-applied after every upgrade. I suggest not to keep old previous .config files and overwrite the new ones with the oldest because newer versions can have different parameters in the config files.
Best Regards,
Ruggero
links you have provided are only talking about NPrinting logs. What @kswindlehurst is talking about is the QlikView desktop log (EventLog) and since NPrinting uses QlikView desktop it can produce quite large files. There is no documentation on that in help document though.
cheers
Lech
Understand but if the problem is that the disk space is fulling reducing the size and the number of NPrinting logs could help.
If they imported report templates they could also check the temporary folder C:\ProgramData\NPrinting\imports because with the GA versions it is not deleted automatically. Its content can be deleted manually because after templates import ends that content is no more needed.
Check also if in %ProgramData%\NPrinting there still are old backups automatically made by upgrade processes. They can delete them and keep just latest one.
I'm aware I'm suggesting workarounds that doesn't impact QlikView Event Logs but those are typical places where you can save space by deleting no more needed files.
Best Regards,
Ruggero
Ah-ha! I should have noticed "nprinting" wasn't in the log's filepath. I'm pretty sure it was self-inflicted: we had trouble with qlikview threads not releasing after each dynamic loop 9 or 10 months ago and I think either I or the consultant set this to "4" for troubleshooting.
thank you!