Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!

How To Change QlikView Service Logs/AppData To An Alternate Location

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Sonja_Bauernfeind
Digital Support
Digital Support

How To Change QlikView Service Logs/AppData To An Alternate Location

Last Update:

Nov 19, 2021 6:17:20 AM

Updated By:

Sonja_Bauernfeind

Created date:

Sep 3, 2014 9:55:21 AM

This article will provide the steps needed to properly change the log/AppData folder locations for each of the QlikView services to alternate locations in the environment.  One key prerequisite is the new target locations must have the same NTFS permissions as the default locations prior to making any changes.

 

Environment:

QlikView 

 

Default Log/AppData locations
  • C:\ProgramData\QlikTech\QlikViewServer
  • C:\ProgramData\QlikTech\DistributionService\1\Log
  • C:\ProgramData\QlikTech\DirectoryServiceConnector\logs
  • C:\ProgramData\QlikTech\WebServer\Log
  • C:\ProgramData\QlikTech\ManagementService\Log
Qlikview Server (QVS)
Steps to change location:
  1. Open the QlikView Management Console (QMC)
  2. Click the System Tab
  3. Click the Setup menu
  4. Click/expand the QlikView Servers and click the instance to be modified
  5. Click the Logging Tab in the right side panel area
  6. Change Log Folder Location path
QlikView Distribution Service (QDS) 
Warning: Relocating the Distribution Service Application Data folder is only possible if a Publisher license is applied on the server.
Steps to change location:
  1. Open the QMC
  2. Click System Tab
  3. Click the Setup menu
  4. Click/expand the Distribution Service and click the instance to be modified
  5. Click the General Tab in the right side panel area
  6. In the Settings for QDS section, change the path for the Application Data Folder to the new location
Directory Service Connector (DSC)
Steps to change location:
  1. Stop all the QlikView Services 
  2. Open Windows Explorer and browse to "C:\Program Files\QlikView\Directory Service Connector" path
  3. Open the "QVDirectoryServiceConnector.exe.config" file with notepad or equivalent 
  4. Search for <add key="ApplicationDataFolder" value=" " /> 
  5. Add the new path between the " "s in the value=" " area
  6. Save the file
  7. Restart all the QlikView Services
QlikView Web Server (QVWS)
Steps to change location:
  1. Stop all the QlikView Services
  2. Open Windows Explorer and browse to "C:\Program Files\QlikView\Server\Web Server" path
  3. Open "QVWebServer.exe.config" with notepad or equivalent
  4. Search <add key="ApplicationDataFolder" value=" " /> 
  5. Add the new path between the " "s in the value=" " area
  6. Save the file
  7. Copy the existing files from the default location to the new location
  8. Restart all the QlikView Services

QlikView Setting Service (QSS)
Steps to change location:

  1. Stop all the QlikView Services
  2. Open Windows Explorer and browse to "C:\Program Files\QlikView\Server\Web Server Settings" path
  3. Open "QVWebServerSettingsService.exe.config" with notepad or equivalent
  4. Search <add key="ApplicationDataFolder" value=" " /> 
  5. Add the new path between the " "s in the value=" " area
  6. Save the file
  7. Copy the existing files from the default location to the new location
  8. Restart all the QlikView Services
  9. Start Internet Information Services (IIS) Manager on the web server
  10. In the left panel, expand "Sites" and highlight/left-click the "Default Web Site" or the custom website you created
  11. In the middle panel area under the ASP.Net section, double-click "Application Settings" applet which will take you to a new view
  12. In the far right panel, click "Add" and a new dialog will appear; in the "Name" field add "ApplicationDataFolder" (Leave the " " out). Put the UNC or drive letter path in the "Value" field
  13. The Entry type will be "Local" by default, which is correct
  14. Click OK and close the IIS Manager
  15. You may wish to run IISRESET from an Admin CMD dialog as well to be sure everything is in place
QlikView Management Service (QMS)
Steps to change location:
  1. Stop all the QlikView Services
  2. Open Windows Explorer and browse to "C:\Program Files\QlikView\Management Service" path
  3. Open "QVManagementService.exe.config" with notepad or equivalent
  4. Search <add key="ApplicationDataFolder" value=" " /> 
  5. Add the new path between the " "s in the value=" " area
  6. Save the file
  7. Copy the existing files from the default location to the new location
  8. Restart all the QlikView Services
 
Labels (1)
Comments
riclight89
Contributor II
Contributor II

Hi, 

Sorry but what do I do if I cannot find the distribution service under System->Setup?

Tried changing the ApplicationData folder directory in C:\Program Files\QlikView\Distribution Service:
QVDistributionService.exe.config
config_LSA-Qklik01
Configuration

with no luck - still creates the logs under C:\ProgramData\QlikTech\DistributionService\1\Log

version - 12.60.20100.0 (no publisher)

BR

RF

Sonja_Bauernfeind
Digital Support
Digital Support

Hello @riclight89 

 

This indicates that you do not have a Distribution Service Licensed (no publisher - as you mentioned). The Distribution Service can only be modified/configured if a Publisher is licensed.

 

All the best,
Sonja 

riclight89
Contributor II
Contributor II

Hi @Sonja_Bauernfeind 

So I cannot change the Log file path from C:\ProgramData\QlikTech\DistributionService\1\Log to a shared drive (best practice i'm sure) without having a publisher license? Sorry to to repeat what you said but surely this should be customizable as one would want to consolidate all ones Log files in one place. It's only this service that I cannot choose/change the Log file location..

Thanks for your response!

BR,

Richard

Contributors
Version history
Last update:
‎2021-11-19 06:17 AM
Updated by: