To enable logging of the calls between QVB.exe and QlikView Distribution Service, the QVB.exe settings.ini file needs to be modified.
QlikView 12.00 and up:
- Locate the QlikViewBatch settings.in file in:
C:\Windows\System32\config\systemprofile\AppData\Roaming\QlikTech\QlikViewBatch (when managing reloads in the QMC)
or
C:\Users\<service account>\AppData\Roaming\QlikTech\QlikViewBatch (when executing tasks using the command line)
- Stop all QVB.exe processes and the QlikView Distribution Services.
- Modify the settings.ini file to include one of the following log levels:
Verbosity=700 Information, Warnings, and Errors.
Verbosity=500 Errors and Warnings. shows errors and warnings. So if there are none, no log files will be created.
Verbosity=300 Errors only
Verbosity=900 Debug information
- Add ExitLogVerbosity=5 to enable the exit log the engine produces upon shutdown. It's turned off by default. Setting it to 5 shows all levels of exit messages. This setting is not necessary for the Verbosity setting to work.
Note: Adding spaces will invalidate the commands. Example: Verbosity=700 will work Verbosity = 700 will not.
Log files will be named:
Events_<server name>PID<ID of current process>.log
Exit<server name>_PID<ID of current process>.log
Log files will be generated into folder:
C:\ProgramData\QlikTech\QlikViewBatch
QlikView 11.20:
- Locate the QlikViewBatch settings.in file in:
C:\Windows\System32\config\systemprofile\AppData\Roaming\QlikTech\QlikViewBatch (when managing reloads in the QMC)
C:\Users\<service account>\AppData\Roaming\QlikTech\QlikViewBatch (when executing tasks using the command line)
- Stop all QVB.exe processes and the QlikView Distribution Services.
- Modify the settings.ini file to include one of the following log levels:
EnableQVBLog=1
Each time a task or batch reload is run, the QVB.exe will create a log file similar to the one attached including all the calls between the QDS and the QVB.exe.
The log files will be located in C:\ProgramData\QlikTech\QlikViewBatch
NOTE: this folder may not exist, if it doesn't you must create it, otherwise the logging will not work