Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
 andrewmo
		
			andrewmo
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		I was wondering what the criteria are for writing to the log file.
Does the QVW have to complete running before any log data is available?
I have a QVW that is frozen but when I look at the log file it shows the previous runs information.
Thanks
 Peter_Cammaert
		
			Peter_Cammaert
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Then the log file will only be written when the entire script has finished, so it seems.
v11.20 and earlier start writing to the log as soon as script execution starts (thereby offering you a chance to check what is going on), not so in v12...
 Peter_Cammaert
		
			Peter_Cammaert
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		What version of QlikView are you using?
 aarkay29
		
			aarkay29
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		when a QVW run completely with or without script error a log file is generated.
In your case log file was'nt generated as the qvw did not run completely i.e. hung up in the middle.
 
					
				
		
 andrewmo
		
			andrewmo
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		12
 
					
				
		
 andrewmo
		
			andrewmo
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		How is one supposed to troubleshoot the issue with the freeze if I can't see the log file?
 Peter_Cammaert
		
			Peter_Cammaert
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Then the log file will only be written when the entire script has finished, so it seems.
v11.20 and earlier start writing to the log as soon as script execution starts (thereby offering you a chance to check what is going on), not so in v12...
 
					
				
		
 craigsutton
		
			craigsutton
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		
Have you tried to step though your script using the debug function in the script editor? You might want to try a limited load as well.
 antrtiz001
		
			antrtiz001
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Also consider that in directory %ProgramData%\QlikTech\QlikView you will find logs being written by the engine. As soon as the scripts are finished, the logs are moved to the qvw origin directory.
I always look at this directory to follow script execution.
