Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
chriscammers
Partner - Specialist
Partner - Specialist

Configure Log File Locations

Qlikview 11.2 SR1

I am able to configure the log location for the Qlikview Server on the QMC

I also want to move the logs for the Directory Service Connector and the Qlikview Web Server.

I looked in the config file for the DSC but I don't see anything in there.

Any suggestions?

6 Replies
gainkarthi
Partner - Specialist
Partner - Specialist

Directory service logs normally placed in C:\ProgramData\QlikTech\DirectoryServiceConnector\Log folder and Web server log files in C:\ProgramData\QlikTech\WebServer\Log folder.

DirectoryServiceConnector logs can be changed by application Application Data Folder option in DSC settings and web server settings can be changed while installing or in IIS (Site's loggin options).

Not applicable

You have to change it under AppData folder, under Program Files

For DSC:

C:\Program Files\QlikView\Directory Service Connector\QVDirectoryServiceConnector.exe.config.

remember to stop service before change, and to save config file after change.

Webserver don´t have any configurable file to change this in.

prabhu0505
Specialist
Specialist

You can configure log path for QDS at QEMC itself.

QDS Log.PNG

barryharmsen
Luminary Alumni
Luminary Alumni

There are two ways to move the log and configuration files:

  • Modifying the .exe.config files for each component
  • Creating a symlink

Modifying the .exe.config files for each component

Modify (or add) the ApplicationDataFolder key:

Untitled.png

The locations of the .exe.config files are:

C:\Program Files\QlikView\Directory Service Connector\QVDirectoryServiceConnector.exe.config

C:\Program Files\QlikView\Distribution Service\QVDistributionService.exe.config

C:\Program Files\QlikView\Management Service\QVManagementService.exe.config

C:\Program Files\QlikView\Server\Web Server\QVWebServer.exe.config

Creating a symlink

A symlink references from one location to another. For example, you might have a folder C:\ProgramData\QlikTech which is symlinked to D:\QVData. The data is stored in the D:\QVData folder, but can be accessed from both the C:\ProgramData\QlikTech and D:\QVData. When accessing from C:\ProgramData\QlikTech the behavior is exactly the same as when the data is actually stored in that location.

The main reason for moving logs is because the C-drive usually has limited space and is only intended for operating system files. Log files can fill up a drive quite fast. I like the symlink because you do not have to change your QlikView configuration, while still being able to move the files.

This is achieved through the following steps:

  • Stop all QlikView services
  • Create the destination directory, for example: D:\QlikView\Config
  • Open the command prompt with Administrator privileges and navigate to: C:\ProgramData
  • Copy all files in the QlikTech folder to the new destination using Xcopy: Xcopy QlikTech D:\QlikView\Config\ /E /H /K /O /X
  • Remove the original QlikTech directory: rmdir QlikTech /s /q
  • Create the symlink to the new directory: mklink /D QlikTech D:\QlikView\Config
  • Restart all services
danielrozental
Master II
Master II

Barry, as Bill has pointed out here before, creating a link might be an unsupported scenario. So if you run into a server issue you might be force to change it back and check that you're still having the issue before reporting the problem.

barryharmsen
Luminary Alumni
Luminary Alumni

Hi Daniel,

I'm not too worried about that, undoing the symlink is a 2 minute task

Kind regards,

Barry