6 Replies Latest reply: Aug 13, 2013 4:08 PM by Barry Harmsen RSS

    Configure Log File Locations

    Chris Cammers

      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?

        • Re: Configure Log File Locations
          Karthikeyan Subramaniam

          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).

          • Re: Configure Log File Locations

            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.

            • Re: Configure Log File Locations
              Saravana Prabhu Paramaramaraj

              You can configure log path for QDS at QEMC itself.


              QDS Log.PNG

              • Re: Configure Log File Locations
                Barry Harmsen

                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:




                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