Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Change the log folder path

HI

I want to change the path of the log folders from the existing location "C:\WINNT\Profiles\All Users\Application Data\QlikTech\QvWebServer" to a new location

I am able to change the path for other services like publisher, distribution service,directory service, server by specifying the path in the config files but unable to do so for Qv Web server

Can anybody help me on how to do this in case of Qvwebserver

Thanks

Peter

8 Replies
fernandotoledo
Partner - Specialist
Partner - Specialist

Can´t you do it trhough the enterprise console management?

Not applicable
Author

Hi

thanks for the reply

i dont think so this can be done from QEMC. it allows only to change the path of the qv server log files

thanks

Peter

phersan_sme
Partner - Contributor III
Partner - Contributor III

are you using IIS or the native QlikView Web Server? I have found a way to change it for either. The IIS setup is a bit more involved though.

Changing QlikView Web Server log files


By default the QlikView WebServer logs are stored in

Windows Server 2008 – C:\ProgramData\QlikTech\WebServer\

Windows Server 2003 – C:\Documents and Settings\All Users\Application Data\QlikTech\WebServer\

QlikView WebServer

  1. To change the default directory when using the QlikView WebServer
    1. Goto C:\Program Files\QlikView\Server\Web Server\
    2. In the directory above, create a file called QVWebServer.exe.config
    3. Paste the following code to your new config file:

<?xmlversion="1.0" encoding="utf-8"?>

<configuration>

  <appSettings>

    <!-- Defaults to %PROGRAMDATA%\QlikTech\WebServer -->

    <addkey="ApplicationDataFolder" value="NEW LOCATION" />

  </appSettings>

</configuration>


  1. Replace NEW LOCATION with a directory you have created for the new log files.
  2. Copy the existing config.xml file in C:\ProgramData\QlikTech\WebServer\ or C:\Documentsand Settings\All Users\Application Data\QlikTech\WebServer\ to your NEW LOCATION (this config.xml file contains important configurations of your Web Server that you have already made)
  3. Restart all of your QlikView services and ensure that new log files are being created in the new location.

IIS WebServer

  1. To change the default directory when using the IIS Webserver
    1. Go to C:\Program Files\QlikView\Server\QlikViewClients\QlikViewAjax\
    2. In the directory above, edit the file called web.config
    3. Find the tag called <appSettings/>, and replace it with the following code:

<appSettings>

  <!-- Defaults to %PROGRAMDATA%\QlikTech\WebServer -->

  <add key="ApplicationDataFolder" value="NEW LOCATION" />

</appSettings>

Note: The <appSettings/> tag is an empty tag. It is different from the</appSettings> closing tag. Replace the empty tag with the proper code above that includes the open tag and the close tag for <appSettings></appSettings>.

  1. Replace NEW LOCATION with a directory you have created for the new log files.
  2. Copy the existing config.xml file in C:\ProgramData\QlikTech\WebServer\ or C:\Documentsand Settings\All Users\Application Data\QlikTech\WebServer\ to your NEW LOCATION (this config.xml file contains important configurations of your Web Server that you have already made)
  3. Restart all of your QlikView services and ensure that new log files are being created in the new location.
danielrozental
Master II
Master II

Here is a nice tip that Stephen Redmond posted here a few days ago.

You could use the same idea to change the webserver logs if necessary.

http://qliktips.blogspot.com/2012/02/move-your-qliktech-programdata-folder.html

http://community.qlik.com/thread/47157

Not applicable
Author

Hi,

i got the info from QV service desk, that we loose support if we change C:\ProgramData/QlikTech to another folder / drive.

danielrozental
Master II
Master II

Bill, can you please confirm this?

Bill_Britt
Former Employee
Former Employee

Hi Daniel,

I talked to all the guys in the US and they said that if they change the path through the configuration files it shouldn't be an issue. However, if they move the Program Data folder it isn't support. Meaning they will not trouble shot any issues.

Bill

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
danielrozental
Master II
Master II

ok, thanks for the clarification Bill.